Unified flags for orienting wxBookCtrls (with backward compatibility). Centralised code for sizing internals.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: propdlg.cpp
|
||||
// Name: src/generic/propdlg.cpp
|
||||
// Purpose: wxPropertySheetDialog
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
@@ -110,9 +110,9 @@ wxBookCtrlBase* wxPropertySheetDialog::CreateBookCtrl()
|
||||
{
|
||||
int style = wxCLIP_CHILDREN;
|
||||
#if defined(__POCKETPC__) && wxUSE_NOTEBOOK
|
||||
style |= wxNB_BOTTOM|wxNB_FLAT;
|
||||
style |= wxBK_BOTTOM|wxNB_FLAT;
|
||||
#else
|
||||
style |= wxBC_DEFAULT;
|
||||
style |= wxBK_DEFAULT;
|
||||
#endif
|
||||
return new wxBookCtrl(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style );
|
||||
}
|
||||
|
Reference in New Issue
Block a user