This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed sizing of the setting dialog #77
- Loading branch information
Oleg Samarin
committed
Aug 28, 2021
1 parent
0b9e4f1
commit d2dd041
Showing
4 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef GORGUECHECKLISTBOX_H | ||
#define GORGUECHECKLISTBOX_H | ||
|
||
#include <wx/checklst.h> | ||
|
||
class GOrgueCheckListBox: public wxCheckListBox | ||
{ | ||
public: | ||
GOrgueCheckListBox(wxWindow *parent, wxWindowID id, const wxArrayString & choices): | ||
wxCheckListBox(parent, id, wxDefaultPosition, wxDefaultSize, choices) | ||
{ InvalidateBestSize(); } | ||
|
||
protected: | ||
virtual wxSize DoGetBestSize() const override { return GetMinSize(); } | ||
}; | ||
|
||
#endif /* GORGUECHECKLISTBOX_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters