Interface fixes for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-10-21 07:56:01 +00:00
parent d0da5061ce
commit dbac5ccc54
2 changed files with 22 additions and 4 deletions

View File

@@ -394,7 +394,12 @@ public:
@remarks Only exists on Mac, other platforms do not have this method.
*/
static wxMenuBar* MacGetCommonMenuBar();
wxFrame *GetFrame() const;
bool IsAttached() const;
virtual void Attach(wxFrame *frame);
virtual void Detach();
};
@@ -994,5 +999,18 @@ public:
but the application may call it at other times if required.
*/
void UpdateUI(wxEvtHandler* source = NULL);
void SetInvokingWindow(wxWindow *win);
wxWindow *GetInvokingWindow() const;
wxWindow *GetWindow() const;
long GetStyle() const;
void SetParent(wxMenu *parent);
wxMenu *GetParent() const;
virtual void Attach(wxMenuBar *menubar);
virtual void Detach();
bool IsAttached() const;
};