undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-08-04 11:10:53 +00:00
parent 01fdd95507
commit 55b43eaa02
12 changed files with 16 additions and 21 deletions

View File

@@ -59,8 +59,7 @@ bool wxPickerBase::CreateBase(wxWindow *parent,
const wxSize& size,
long style,
const wxValidator& validator,
const wxString& name,
long textstyle)
const wxString& name)
{
// remove any border style from our style as wxPickerBase's window must be
// invisible (user styles must be set on the textctrl or the platform-dependent picker)
@@ -78,7 +77,7 @@ bool wxPickerBase::CreateBase(wxWindow *parent,
// the styles related to the textctrl from the styles passed here
m_text = new wxTextCtrl(this, wxID_ANY, wxEmptyString,
wxDefaultPosition, wxDefaultSize,
GetTextCtrlStyle(style) | textstyle);
GetTextCtrlStyle(style));
if (!m_text)
{
wxFAIL_MSG( wxT("wxPickerBase's textctrl creation failed") );