GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize SetBestSize --> SetInitialSize SetInitialBestSize --> SetInitialSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,7 +67,7 @@ bool wxStaticPicture::Create(wxWindow *parent, wxWindowID id,
|
||||
|
||||
bool ret = wxControl::Create( parent, id, pos, size, style, wxDefaultValidator, name );
|
||||
|
||||
SetBestSize( size ) ;
|
||||
SetInitialSize( size ) ;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@@ -179,7 +179,7 @@ bool wxStyledTextCtrl::Create(wxWindow *parent,
|
||||
SetCodePage(wxSTC_CP_UTF8);
|
||||
#endif
|
||||
|
||||
SetBestFittingSize(size);
|
||||
SetInitialSize(size);
|
||||
|
||||
// Reduces flicker on GTK+/X11
|
||||
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
|
||||
|
@@ -179,7 +179,7 @@ bool wxStyledTextCtrl::Create(wxWindow *parent,
|
||||
SetCodePage(wxSTC_CP_UTF8);
|
||||
#endif
|
||||
|
||||
SetBestFittingSize(size);
|
||||
SetInitialSize(size);
|
||||
|
||||
// Reduces flicker on GTK+/X11
|
||||
SetBackgroundStyle(wxBG_STYLE_CUSTOM);
|
||||
|
Reference in New Issue
Block a user