Cleaned up remains of outdated 3D effect handling.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-08-31 20:08:49 +00:00
parent a04be86ee4
commit 0093fe11c5
3 changed files with 2 additions and 82 deletions

View File

@@ -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