Clean up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -129,14 +129,6 @@ wxRichTextCtrl::wxRichTextCtrl(wxWindow* parent,
|
|||||||
bool wxRichTextCtrl::Create( wxWindow* parent, wxWindowID id, const wxString& value, const wxPoint& pos, const wxSize& size, long style,
|
bool wxRichTextCtrl::Create( wxWindow* parent, wxWindowID id, const wxString& value, const wxPoint& pos, const wxSize& size, long style,
|
||||||
const wxValidator& validator, const wxString& name)
|
const wxValidator& validator, const wxString& name)
|
||||||
{
|
{
|
||||||
// Try to make this only necessary in 2.8
|
|
||||||
#if 0
|
|
||||||
#ifdef __WXMSW__
|
|
||||||
if ((style & wxBORDER_MASK) == wxDEFAULT)
|
|
||||||
style |= wxBORDER_THEME;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!wxTextCtrlBase::Create(parent, id, pos, size,
|
if (!wxTextCtrlBase::Create(parent, id, pos, size,
|
||||||
style|wxFULL_REPAINT_ON_RESIZE,
|
style|wxFULL_REPAINT_ON_RESIZE,
|
||||||
validator, name))
|
validator, name))
|
||||||
|
Reference in New Issue
Block a user