]> git.saurik.com Git - wxWidgets.git/commitdiff
undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Aug 2006 11:25:37 +0000 (11:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Aug 2006 11:25:37 +0000 (11:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/combobox.cpp
src/msw/textctrl.cpp

index 8d049cb564694ca5be8e68c6e92986cfb570b426..6b3ec7f57fb63ccd237e604e387aee624ee458c8 100644 (file)
@@ -42,7 +42,6 @@
 
 // include <commctrl.h> "properly"
 #include "wx/msw/wrapcctl.h"
-#include "wx/msw/wrapshl.h"
 
 #if wxUSE_TOOLTIPS
     #include "wx/tooltip.h"
@@ -418,14 +417,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
     // edit control, we must subclass it as well
     if ( !(style & wxCB_READONLY) )
     {
-        const HWND hwndEdit = (HWND)GetEditHWND();
-
-        gs_wndprocEdit = wxSetWindowProc(hwndEdit, wxComboEditWndProc);
-
-        if ( style & wxCB_FILENAME )
-        {
-            wxEnableFileNameAutoComplete(hwndEdit);
-        }
+        gs_wndprocEdit = wxSetWindowProc((HWND)GetEditHWND(), wxComboEditWndProc);
     }
 
     // and finally, show the control
index ab2e41b7a853d6bbd6440a415ad0d9b915e617ba..3f8402ded186a477be155228b06d5b7627af4108 100644 (file)
@@ -50,7 +50,7 @@
 #include <windowsx.h>
 
 #include "wx/msw/private.h"
-#include "wx/msw/wrapshl.h"
+#include "wx/msw/winundef.h"
 
 #include <string.h>
 #include <stdlib.h>
@@ -518,9 +518,6 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
     }
 #endif // wxUSE_RICHEDIT
 
-    if ( style & wxTE_FILENAME )
-        wxEnableFileNameAutoComplete(GetHwnd());
-
     gs_wndprocEdit = wxSetWindowProc((HWND)GetHwnd(),
                                      wxTextCtrlWndProc);