X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f55d9f749b61b3a8435c58a285ac096726d15040..f1b63efe8993c6c0460354bc2da7331526d43efa:/include/wx/osx/core/private.h?ds=inline diff --git a/include/wx/osx/core/private.h b/include/wx/osx/core/private.h index 15e0f81736..d16cbfa3fc 100644 --- a/include/wx/osx/core/private.h +++ b/include/wx/osx/core/private.h @@ -152,6 +152,8 @@ public : wxMenu* GetWXPeer() { return m_peer ; } + virtual void PopUp( wxWindow *win, int x, int y ) = 0; + static wxMenuImpl* Create( wxMenu* peer, const wxString& title ); static wxMenuImpl* CreateRootMenu( wxMenu* peer ); protected : @@ -235,6 +237,8 @@ public : // is the clicked event sent AFTER the state already changed, so no additional // state changing logic is required from the outside virtual bool ButtonClickDidStateChange() = 0; + + virtual void InstallEventHandler( WXWidget control = NULL ) = 0; // static methods for associating native controls and their implementations