X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69b85ca49b0ac601c285e84294ac50be9dfc5291..886dd7d28e50c003cc88b81b968d487a3c17b0d7:/include/wx/mac/control.h diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index d39c5c624a..ddad4ae07d 100644 --- a/include/wx/mac/control.h +++ b/include/wx/mac/control.h @@ -92,14 +92,6 @@ public: inline virtual void SetButtonFont(const wxFont& font); inline wxFont& GetLabelFont() const; inline wxFont& GetButtonFont() const; - - // Adds callback - inline void Callback(const wxFunction function); - - wxFunction GetCallback() { return m_callback; } - -protected: - wxFunction m_callback; // Callback associated with the window #endif // WXWIN_COMPATIBILITY protected: @@ -119,7 +111,6 @@ private: #if WXWIN_COMPATIBILITY - inline void wxControl::Callback(const wxFunction f) { m_callback = f; }; inline wxFont& wxControl::GetLabelFont() const { return GetFont(); } inline wxFont& wxControl::GetButtonFont() const { return GetFont(); } inline void wxControl::SetLabelFont(const wxFont& font) { SetFont(font); }