+#ifdef __POCKETPC__
+ // Create an empty menubar so that we don't see the menubar underneath
+ SHMENUBARINFO mbi;
+
+ memset (&mbi, 0, sizeof (SHMENUBARINFO));
+ mbi.cbSize = sizeof (SHMENUBARINFO);
+ mbi.hwndParent = (HWND) GetParent()->GetHWND();
+ mbi.nToolBarId = 5000;
+ mbi.nBmpId = 0;
+ mbi.cBmpImages = 0;
+ mbi.dwFlags = 0 ; // SHCMBF_EMPTYBAR;
+ mbi.hInstRes = wxGetInstance();
+
+ if (!SHCreateMenuBar(&mbi))
+ {
+ wxFAIL_MSG( _T("SHCreateMenuBar failed") );
+ }
+
+ m_menuBarHWND = (WXHWND) mbi.hwndMB;
+#endif
+