Fixes for Standard WinCE SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -178,6 +178,10 @@ public:
|
||||
wxToolBar* GetToolBar() const { return m_toolBar; }
|
||||
#endif
|
||||
|
||||
#if defined(__WXWINCE__) && (_WIN32_WCE >= 400 && !defined(WIN32_PLATFORM_PSPC) && !defined(WIN32_PLATFORM_WFSP))
|
||||
WXHWND GetCommandBar() const { return m_commandBar; }
|
||||
#endif
|
||||
|
||||
#if wxUSE_ACCEL
|
||||
// get the accel table for all the menus
|
||||
const wxAcceleratorTable& GetAccelTable() const { return m_accelTable; }
|
||||
@@ -220,7 +224,7 @@ protected:
|
||||
// Not using a combined wxToolBar/wxMenuBar? then use
|
||||
// a commandbar in WinCE .NET to implement the
|
||||
// menubar, since there is no ::SetMenu function.
|
||||
#if defined(__WXWINCE__) && (_WIN32_WCE >= 400 && !defined(WIN32_PLATFORM_PSPC) && defined(WIN32_PLATFORM_WFSP))
|
||||
#if defined(__WXWINCE__) && (_WIN32_WCE >= 400 && !defined(WIN32_PLATFORM_PSPC) && !defined(WIN32_PLATFORM_WFSP))
|
||||
WXHWND m_commandBar;
|
||||
#endif
|
||||
|
||||
|
@@ -778,6 +778,15 @@
|
||||
// Set to 0 to disable document/view architecture
|
||||
#define wxUSE_DOC_VIEW_ARCHITECTURE 1
|
||||
|
||||
// Set to 0 to disable MDI support.
|
||||
//
|
||||
// Requires wxUSE_NOTEBOOK under platforms other than MSW.
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1, can be safely set to 0.
|
||||
#define wxUSE_MDI 0
|
||||
|
||||
// Set to 0 to disable MDI document/view architecture
|
||||
#define wxUSE_MDI_ARCHITECTURE 0
|
||||
|
||||
|
@@ -65,7 +65,7 @@ class WXDLLEXPORT wxTopLevelWindowBase;
|
||||
// "correctly", i.e. as full screen windows with a "hide" button (same as
|
||||
// "close" but round instead of squared and just hides the applications
|
||||
// instead of closing it) in the title bar
|
||||
#ifdef __WXWINCE__
|
||||
#if defined(__WXWINCE__) && !defined(WCE_PLATFORM_STANDARDSDK)
|
||||
#ifdef __SMARTPHONE__
|
||||
#define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE)
|
||||
#else
|
||||
|
Reference in New Issue
Block a user