]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/popupwin.cpp
(probably) fixed wxLocale::Init with Borland C++
[wxWidgets.git] / src / x11 / popupwin.cpp
index 2fbf352a72de1265a437ebc200d4c645ddab1d70..89991df729d95f10b2f65288ac375ba39e851dcf 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "wx/popupwin.h"
 #include "wx/app.h"
+#include "wx/settings.h"
 
 #include "wx/x11/private.h"
 #include "X11/Xatom.h"
@@ -33,7 +34,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
 
 bool wxPopupWindow::Create( wxWindow *parent, int style )
 {
-    if (!CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, "popup" ))
+    if (!CreateBase( parent, -1, wxDefaultPosition, wxDefaultSize, style, wxDefaultValidator, wxT("popup") ))
     {
         wxFAIL_MSG( wxT("wxPopupWindow creation failed") );
         return FALSE;