// global data
//-----------------------------------------------------------------------------
-extern WXDLLIMPEXP_CORE const wxChar *wxCheckBoxNameStr;
+extern WXDLLIMPEXP_CORE const wxChar wxCheckBoxNameStr[];
//-----------------------------------------------------------------------------
// wxToggleBitmapButton
bool GetValue() const;
// Set the label
- void SetLabel(const wxBitmap& label);
+ virtual void SetLabel(const wxString& label) { wxControl::SetLabel(label); }
+ virtual void SetLabel(const wxBitmap& label);
bool Enable(bool enable = TRUE);
static wxVisualAttributes
wxBitmap m_bitmap;
void OnSetBitmap();
- void DoApplyWidgetStyle(GtkRcStyle *style);
bool IsOwnGtkWindow(GdkWindow *window);
virtual void OnInternalIdle();
+
+protected:
+ void DoApplyWidgetStyle(GtkRcStyle *style);
virtual wxSize DoGetBestSize() const;
private:
// implementation
bool m_blockEvent;
- void DoApplyWidgetStyle(GtkRcStyle *style);
bool IsOwnGtkWindow(GdkWindow *window);
virtual void OnInternalIdle();
+
+protected:
+ void DoApplyWidgetStyle(GtkRcStyle *style);
virtual wxSize DoGetBestSize() const;
private: