projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxMac needs the scroll styles
[wxWidgets.git]
/
src
/
os2
/
control.cpp
diff --git
a/src/os2/control.cpp
b/src/os2/control.cpp
index d8c0373c11e468ac060fe10d3eeffeb1f2a6525a..324ea885b21935c133eedbb6266a93c67ab271de 100644
(file)
--- a/
src/os2/control.cpp
+++ b/
src/os2/control.cpp
@@
-99,14
+99,13
@@
bool wxControl::OS2CreateControl(
, WXDWORD dwExstyle
)
{
, WXDWORD dwExstyle
)
{
- bool bWant3D = FALSE;
-
//
// Doesn't do anything at all under OS/2
//
if (dwExstyle == (WXDWORD)-1)
{
//
// Doesn't do anything at all under OS/2
//
if (dwExstyle == (WXDWORD)-1)
{
- dwExstyle = Determine3DEffects(WS_EX_CLIENTEDGE, &bWant3D);
+ dwExstyle = 0;
+ (void) OS2GetStyle(GetWindowStyle(), &dwExstyle);
}
//
// All controls should have these styles (wxWindows creates all controls
}
//
// All controls should have these styles (wxWindows creates all controls