X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ea105e0ba20c15e4d83f829e1c4faeb0a4952f0..2c738dd87ac62d3283c45f9eeac2341326b4d7dd:/src/generic/propform.cpp diff --git a/src/generic/propform.cpp b/src/generic/propform.cpp index bda34bb83a..686db00abf 100644 --- a/src/generic/propform.cpp +++ b/src/generic/propform.cpp @@ -24,25 +24,13 @@ #include "wx/wx.h" #endif +#include "wx/propform.h" + #include #include #include #include -#if wxUSE_IOSTREAMH -#if defined(__WXMSW__) && !defined(__GNUWIN32__) && !defined(__WXWINE__) -#include -#else -#include -#endif -#else -#include -#endif - -#include "wx/window.h" -#include "wx/utils.h" -#include "wx/list.h" -#include "wx/propform.h" /* * Property view @@ -162,7 +150,7 @@ bool wxPropertyFormView::AssociateNames(void) while (node) { wxWindow *win = (wxWindow *)node->Data(); - if (win->GetName() != "") + if (win->GetName() != _T("")) { wxProperty *prop = m_propertySheet->GetProperty(win->GetName()); if (prop) @@ -219,7 +207,7 @@ void wxPropertyFormView::OnCommand(wxWindow& win, wxCommandEvent& event) if (!m_propertySheet) return; - if (win.GetName() == "") + if (win.GetName() == _T("")) return; if (wxStrcmp(win.GetName(), _T("ok")) == 0)