projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't set cursor for not realized (and not only hidden) windows
[wxWidgets.git]
/
src
/
os2
/
notebook.cpp
diff --git
a/src/os2/notebook.cpp
b/src/os2/notebook.cpp
index f518b1d11cf7161aad82c588639de6d85b116f41..26f5212468d4ef390b9c00fc2c39f0d21883b91b 100644
(file)
--- a/
src/os2/notebook.cpp
+++ b/
src/os2/notebook.cpp
@@
-24,10
+24,10
@@
#include "wx/settings.h"
#include "wx/log.h"
#include "wx/event.h"
#include "wx/settings.h"
#include "wx/log.h"
#include "wx/event.h"
+ #include "wx/control.h"
#endif // WX_PRECOMP
#include "wx/imaglist.h"
#endif // WX_PRECOMP
#include "wx/imaglist.h"
-#include "wx/control.h"
#include "wx/os2/private.h"
#include "wx/os2/private.h"
@@
-124,6
+124,8
@@
bool wxNotebook::Create( wxWindow* pParent,
long lStyle,
const wxString& rsName )
{
long lStyle,
const wxString& rsName )
{
+ if ( (lStyle & wxBK_ALIGN_MASK) == wxBK_DEFAULT )
+ lStyle |= wxBK_TOP;
//
// Base init
//
//
// Base init
//