projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fix after wxPlatformInfo patch: use wxOS_WINDOWS_CE instead of wxWinPocketPC
[wxWidgets.git]
/
src
/
os2
/
notebook.cpp
diff --git
a/src/os2/notebook.cpp
b/src/os2/notebook.cpp
index 35513ca1e97dd1c29deb68ee79e271fee34da029..26f5212468d4ef390b9c00fc2c39f0d21883b91b 100644
(file)
--- a/
src/os2/notebook.cpp
+++ b/
src/os2/notebook.cpp
@@
-14,19
+14,20
@@
#if wxUSE_NOTEBOOK
#if wxUSE_NOTEBOOK
+#include "wx/notebook.h"
+
// wxWidgets
#ifndef WX_PRECOMP
// wxWidgets
#ifndef WX_PRECOMP
- #include "wx/app.h"
- #include "wx/dcclient.h"
- #include "wx/string.h"
- #include "wx/settings.h"
+ #include "wx/app.h"
+ #include "wx/dcclient.h"
+ #include "wx/string.h"
+ #include "wx/settings.h"
+ #include "wx/log.h"
+ #include "wx/event.h"
+ #include "wx/control.h"
#endif // WX_PRECOMP
#endif // WX_PRECOMP
-#include "wx/log.h"
#include "wx/imaglist.h"
#include "wx/imaglist.h"
-#include "wx/event.h"
-#include "wx/control.h"
-#include "wx/notebook.h"
#include "wx/os2/private.h"
#include "wx/os2/private.h"
@@
-123,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
//
@@
-318,7
+321,7
@@
bool wxNotebook::SetPageImage (
return (bool)::WinSendMsg( GetHWND()
,BKM_SETTABBITMAP
,MPFROMLONG((ULONG)m_alPageId[nPage])
return (bool)::WinSendMsg( GetHWND()
,BKM_SETTABBITMAP
,MPFROMLONG((ULONG)m_alPageId[nPage])
- ,(MPARAM)
vBitmap.GetHBITMAP(
)
+ ,(MPARAM)
wxFlipBmp(vBitmap.GetHBITMAP()
)
);
} // end of wxNotebook::SetPageImage
);
} // end of wxNotebook::SetPageImage