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:
Julian Smart
2003-07-20 22:54:34 +00:00
parent 489c64e0e1
commit 74d0b78c36

View File

@@ -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;