wxLogWindow now uses standard menu ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -385,11 +385,12 @@ public:
|
|||||||
wxTextCtrl *TextCtrl() const { return m_pTextCtrl; }
|
wxTextCtrl *TextCtrl() const { return m_pTextCtrl; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
// use standard ids for our commands!
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
Menu_Close = 100,
|
Menu_Close = wxID_CLOSE,
|
||||||
Menu_Save,
|
Menu_Save = wxID_SAVE,
|
||||||
Menu_Clear
|
Menu_Clear = wxID_CLEAR
|
||||||
};
|
};
|
||||||
|
|
||||||
// instead of closing just hide the window to be able to Show() it later
|
// instead of closing just hide the window to be able to Show() it later
|
||||||
|
Reference in New Issue
Block a user