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

@@ -395,6 +395,11 @@ public:
*/ */
static wxMenuBar* MacGetCommonMenuBar(); 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. but the application may call it at other times if required.
*/ */
void UpdateUI(wxEvtHandler* source = NULL); 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;
}; };

View File

@@ -157,7 +157,7 @@ public:
@onlyfor{wxmsw} @onlyfor{wxmsw}
*/ */
wxColour GetBackgroundColour() const; wxColour& GetBackgroundColour() const;
/** /**
Returns the checked or unchecked bitmap. Returns the checked or unchecked bitmap.
@@ -171,7 +171,7 @@ public:
@onlyfor{wxmsw} @onlyfor{wxmsw}
*/ */
wxFont GetFont() const; wxFont& GetFont() const;
/** /**
Returns the help string associated with the menu item. Returns the help string associated with the menu item.
@@ -257,7 +257,7 @@ public:
@onlyfor{wxmsw} @onlyfor{wxmsw}
*/ */
wxColour GetTextColour() const; wxColour& GetTextColour() const;
//@} //@}