]> git.saurik.com Git - wxWidgets.git/commitdiff
Load Smartphone-specific dummy menu
authorJulian Smart <julian@anthemion.co.uk>
Sun, 20 Jul 2003 22:54:34 +0000 (22:54 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 20 Jul 2003 22:54:34 +0000 (22:54 +0000)
Unfortunately you can't change it, yet

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/wince/tbarwce.cpp

index 8bf694bdbf41a20c9287b1c30ed997cf2108e77f..0a67090e9e171c59cfd6cff6796748070ee0306e 100644 (file)
@@ -261,7 +261,11 @@ bool wxToolBar::MSWCreateToolbar(const wxPoint& pos, const wxSize& size, wxMenuB
     memset (&mbi, 0, sizeof (SHMENUBARINFO));
     mbi.cbSize     = sizeof (SHMENUBARINFO);
     mbi.hwndParent = (HWND) GetParent()->GetHWND();
+#if wxUSE_SMARTPHONE
+    mbi.nToolBarId = 5002;
+#else
     mbi.nToolBarId = 5000;
+#endif
     mbi.nBmpId     = 0;
     mbi.cBmpImages = 0;
     mbi.dwFlags = 0 ; // SHCMBF_EMPTYBAR;