X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3bf7524f394af039efe196a186f7969cbabcc19..78ca56690e93e14af43f5b6f090f474a0ff7d736:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index d8c0373c11..324ea885b2 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -99,14 +99,13 @@ bool wxControl::OS2CreateControl( , WXDWORD dwExstyle ) { - bool bWant3D = FALSE; - // // 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