X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9b1d6c8ddc0e923c368529efb0e011edeec44e6..c010d6a9854627296ec3e097e70a5c39fccdffdd:/src/os2/control.cpp?ds=inline diff --git a/src/os2/control.cpp b/src/os2/control.cpp index 61fd7206cf..a7d56cb07d 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -168,6 +168,8 @@ bool wxControl::OS2CreateControl( // Controls use the same font and colours as their parent dialog by default // InheritAttributes(); + SetXComp(0); + SetYComp(0); if (nW == 0 || nH == 0) SetBestSize(rSize); return TRUE;