X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87138c520ce5dc4d0268191074866e8bc300c984..420ec58abbf042de49ccde2253abd96dbc85c8ff:/src/generic/propform.cpp diff --git a/src/generic/propform.cpp b/src/generic/propform.cpp index 2a115e5c57..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__) -#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)