missing Init() added to wxMenu(wxCallback) ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
eaeb6a3c37
commit
4a539480fb
@ -83,6 +83,8 @@ public:
|
||||
wxMenu(const wxString& title, const wxFunction func)
|
||||
: wxMenuBase(title)
|
||||
{
|
||||
Init();
|
||||
|
||||
Callback(func);
|
||||
}
|
||||
|
||||
|
@ -83,6 +83,8 @@ public:
|
||||
wxMenu(const wxString& title, const wxFunction func)
|
||||
: wxMenuBase(title)
|
||||
{
|
||||
Init();
|
||||
|
||||
Callback(func);
|
||||
}
|
||||
|
||||
|
@ -50,6 +50,8 @@ public:
|
||||
wxMenu(const wxString& title, const wxFunction func)
|
||||
: wxMenuBase(title)
|
||||
{
|
||||
Init();
|
||||
|
||||
Callback(func);
|
||||
}
|
||||
|
||||
|
@ -54,6 +54,8 @@ public:
|
||||
wxMenu(const wxString& title, const wxFunction func)
|
||||
: wxMenuBase(title)
|
||||
{
|
||||
Init();
|
||||
|
||||
Callback(func);
|
||||
}
|
||||
#endif // wxUSE_MENU_CALLBACK
|
||||
|
Loading…
Reference in New Issue
Block a user