Implemented PocketPC menubar/toolbar as wxToolMenuBar derived
from wxToolBar, solving the problem of how normal toolbars can co-exist with combined ones. Tidied up WinCE toolbar code. Implemented wxToolBar as 'dummy' toolbar under Smartphone. Dialogs now show an empty menubar to hide inactive one underneath. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -186,14 +186,14 @@ XLife is (c) 1989 by Jon Bennett et al.")),
|
||||
sizer->Add( new wxStaticLine(this, wxID_ANY), 0, wxGROW | wxLEFT | wxRIGHT, 5 );
|
||||
#endif // wxUSE_STATLINE
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
#if ! (defined(__SMARTPHONE__) || defined(__POCKETPC__))
|
||||
sizer->Add( CreateButtonSizer(wxOK), 0, wxCENTRE | wxALL, 10 );
|
||||
#endif
|
||||
|
||||
// activate
|
||||
SetSizer(sizer);
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
#if ! (defined(__SMARTPHONE__) || defined(__POCKETPC__))
|
||||
sizer->SetSizeHints(this);
|
||||
sizer->Fit(this);
|
||||
Centre(wxBOTH | wxCENTRE_ON_SCREEN);
|
||||
|
Reference in New Issue
Block a user