// char (the one immediately after '&') into m_chAccel (TODO not yet)
virtual void SetLabel( const wxString &label );
virtual wxString GetLabel() const;
-
+
virtual wxVisualAttributes GetDefaultAttributes() const;
protected:
+ virtual void ApplyWidgetStyle(bool forceStyle = false);
+ // helper function to ease native widgets wrapping, called by
+ // ApplyWidgetStyle -- override this, not ApplyWidgetStyle
+ virtual void DoApplyWidgetStyle(GtkRcStyle *style);
+
virtual wxSize DoGetBestSize() const;
void PostCreation(const wxSize& size);
+ void PostSetLabel();
#ifdef __WXGTK20__
wxString PrepareLabelMnemonics( const wxString &label ) const;
wxString m_label;
char m_chAccel; // enabled to avoid breaking binary compatibility later on
+ bool m_createComplete;
private:
DECLARE_DYNAMIC_CLASS(wxControl)