Reuse code between wxListBox::Create() overloads
Add DoCreate() helper to actually create and initialize QListWidget.
This commit is contained in:
@@ -90,7 +90,9 @@ protected:
|
||||
private:
|
||||
virtual void Init(); //common construction
|
||||
|
||||
void setStyle(long style);
|
||||
// Common part of both Create() overloads.
|
||||
void DoCreate(wxWindow* parent, long style);
|
||||
|
||||
void UnSelectAll();
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxListBox);
|
||||
|
Reference in New Issue
Block a user