Implemented tearoff menus, please see my posting to wxwin-developers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
// global data
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
extern wxCursor g_globalCursor;
|
||||
|
||||
wxApp *wxTheApp = (wxApp *) NULL;
|
||||
wxAppInitializerFunction wxApp::m_appInitFn = (wxAppInitializerFunction) NULL;
|
||||
|
||||
@@ -575,8 +577,7 @@ bool wxApp::Initialize()
|
||||
|
||||
wxImage::InitStandardHandlers();
|
||||
|
||||
/* no global cursor under X
|
||||
g_globalCursor = new wxCursor; */
|
||||
g_globalCursor = wxCursor(wxCURSOR_DEFAULT);
|
||||
|
||||
wxModule::RegisterModules();
|
||||
if (!wxModule::InitializeModules()) return FALSE;
|
||||
|
Reference in New Issue
Block a user