]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
Include wx/window.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / src / msw / combobox.cpp
index be00b321fe9c63a25420416de21b4122106462a7..f893200c1afab0fb39fde9aaa62c5f95f1f57796 100644 (file)
 
 #if wxUSE_COMBOBOX
 
+#include "wx/combobox.h"
+
 #ifndef WX_PRECOMP
     #include "wx/settings.h"
     #include "wx/log.h"
     // for wxEVT_COMMAND_TEXT_ENTER
     #include "wx/textctrl.h"
+    #include "wx/app.h"
 #endif
 
-#include "wx/app.h"
-#include "wx/combobox.h"
 #include "wx/brush.h"
 #include "wx/clipbrd.h"
 #include "wx/msw/private.h"
@@ -199,7 +200,7 @@ LRESULT APIENTRY _EXPORT wxComboEditWndProc(HWND hWnd,
             {
                 wxCHECK_MSG( win, 0, _T("should have a parent") );
 
-                if ( win->GetWindowStyle() & wxPROCESS_ENTER )
+                if ( win->GetWindowStyle() & wxTE_PROCESS_ENTER )
                 {
                     // need to return a custom dlg code or we'll never get it
                     return DLGC_WANTMESSAGE;