Load Smartphone-specific dummy menu
Unfortunately you can't change it, yet git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -261,7 +261,11 @@ bool wxToolBar::MSWCreateToolbar(const wxPoint& pos, const wxSize& size, wxMenuB
|
|||||||
memset (&mbi, 0, sizeof (SHMENUBARINFO));
|
memset (&mbi, 0, sizeof (SHMENUBARINFO));
|
||||||
mbi.cbSize = sizeof (SHMENUBARINFO);
|
mbi.cbSize = sizeof (SHMENUBARINFO);
|
||||||
mbi.hwndParent = (HWND) GetParent()->GetHWND();
|
mbi.hwndParent = (HWND) GetParent()->GetHWND();
|
||||||
|
#if wxUSE_SMARTPHONE
|
||||||
|
mbi.nToolBarId = 5002;
|
||||||
|
#else
|
||||||
mbi.nToolBarId = 5000;
|
mbi.nToolBarId = 5000;
|
||||||
|
#endif
|
||||||
mbi.nBmpId = 0;
|
mbi.nBmpId = 0;
|
||||||
mbi.cBmpImages = 0;
|
mbi.cBmpImages = 0;
|
||||||
mbi.dwFlags = 0 ; // SHCMBF_EMPTYBAR;
|
mbi.dwFlags = 0 ; // SHCMBF_EMPTYBAR;
|
||||||
|
Reference in New Issue
Block a user