X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06bb8d923df9ce02e522c661a11ff685466067a6..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/osx/button.h diff --git a/include/wx/osx/button.h b/include/wx/osx/button.h index 5b189fc940..987c8e9792 100644 --- a/include/wx/osx/button.h +++ b/include/wx/osx/button.h @@ -56,7 +56,7 @@ protected: void OnEnterWindow( wxMouseEvent& event); void OnLeaveWindow( wxMouseEvent& event); - + virtual wxBitmap DoGetBitmap(State which) const; virtual void DoSetBitmap(const wxBitmap& bitmap, State which); virtual void DoSetBitmapPosition(wxDirection dir); @@ -67,7 +67,7 @@ protected: m_marginY = y; InvalidateBestSize(); } - + // the margins around the bitmap int m_marginX; int m_marginY; @@ -75,8 +75,8 @@ protected: // the bitmaps for the different state of the buttons, all of them may be // invalid and the button only shows a bitmap at all if State_Normal bitmap // is valid - wxBitmap m_bitmaps[State_Max]; - + wxBitmap m_bitmaps[State_Max]; + DECLARE_DYNAMIC_CLASS(wxButton) DECLARE_EVENT_TABLE() };