1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them
from overwriting each other when the main window is resized 2. more tweaks to MSWGetStyle() and related code, added a new, easier to use, version of MSWCreateControl() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -360,7 +360,7 @@ WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
|
||||
long msStyle = wxControl::MSWGetStyle(style, exstyle);
|
||||
|
||||
// default styles
|
||||
msStyle |= ES_LEFT | WS_TABSTOP;
|
||||
msStyle |= ES_LEFT;
|
||||
|
||||
if ( style & wxTE_MULTILINE )
|
||||
{
|
||||
|
Reference in New Issue
Block a user