X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9eee2db810695ae4417e9935475f268bb68bbac..c16471b6e8b08bd7d02c4c4988a06f46b83634e1:/include/wx/os2/control.h?ds=sidebyside diff --git a/include/wx/os2/control.h b/include/wx/os2/control.h index 1627d70c75..8da501c1d2 100644 --- a/include/wx/os2/control.h +++ b/include/wx/os2/control.h @@ -89,15 +89,6 @@ public: inline virtual void SetButtonFont(const wxFont& rFont); inline wxFont& GetLabelFont(void) const; inline wxFont& GetButtonFont(void) const; - - // - // Adds callback - // - inline void Callback(const wxFunction function); - wxFunction GetCallback(void) { return m_callback; } - -protected: - wxFunction m_callback; // Callback associated with the window #endif // WXWIN_COMPATIBILITY public: @@ -148,7 +139,6 @@ private: }; // end of wxControl #if WXWIN_COMPATIBILITY - inline void wxControl::Callback(const wxFunction f) { m_callback = f; }; inline wxFont& wxControl::GetLabelFont(void) const { return GetFont(); } inline wxFont& wxControl::GetButtonFont(void) const { return GetFont(); } inline void wxControl::SetLabelFont(const wxFont& rFont) { SetFont(rFont); }