// label is just the same as the title (but for, e.g., buttons it
// makes more sense to speak about labels)
- void SetLabel(const wxString& label) { SetTitle(label); }
- wxString GetLabel() const { return GetTitle(); }
+ virtual void SetLabel(const wxString& label) { SetTitle(label); }
+ virtual wxString GetLabel() const { return GetTitle(); }
// the window name is used for ressource setting in X, it is not the
// same as the window title/label
"examples."
};
-// (void) new wxButton( this, -1, "wxButton", wxPoint(10,10) );
+ (void) new wxButton( this, -1, "wxButton", wxPoint(10,10) );
-// (void) new wxTextCtrl( this, -1, "wxTextCtrl", wxPoint(10,50) );
+ (void) new wxTextCtrl( this, -1, "wxTextCtrl", wxPoint(10,50) );
(void) new wxRadioButton( this, -1, "Disable", wxPoint(10,90) );
-// (void) new wxComboBox( this, -1, "This", wxPoint(10,130), wxDefaultSize, 5, choices );
+ (void) new wxComboBox( this, -1, "This", wxPoint(10,130), wxDefaultSize, 5, choices );
(void) new wxRadioBox( this, -1, "This", wxPoint(10,200), wxDefaultSize, 5, choices );