diff --git a/include/wx/motif/button.h b/include/wx/motif/button.h index a0034575bc..5735b60555 100644 --- a/include/wx/motif/button.h +++ b/include/wx/motif/button.h @@ -43,8 +43,12 @@ public: static wxSize GetDefaultSize(); // Implementation -private: +protected: + virtual wxSize DoGetBestSize() const; + +private: + virtual wxSize GetMinSize() const; wxSize OldGetBestSize() const; wxSize OldGetMinSize() const;