X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3dfaa10a67a46d8e50e297a068ac145dab90033..3a5910cbe95603698b984cc6d8d41bbe7e2f89d9:/include/wx/gtk/bmpbuttn.h diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 04532e2b2b..f4d71460df 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -11,7 +11,7 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -61,13 +61,14 @@ public: void NotFocus(); void StartSelect(); void EndSelect(); - void ApplyWidgetStyle(); + void DoApplyWidgetStyle(GtkRcStyle *style); bool m_hasFocus:1; bool m_isSelected:1; protected: virtual void OnSetBitmap(); + virtual wxSize DoGetBestSize() const; void Init();