]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_fontpicker.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / xrc / xh_fontpicker.cpp
index 6222b3dfc34aa20c66c04ba2fad9c0a0bd090f6b..f0436bbccf79b0fe03e89fff044fe64265889d05 100644 (file)
@@ -43,7 +43,7 @@ wxObject *wxFontPickerCtrlXmlHandler::DoCreateResource()
                   GetID(),
                   f,
                   GetPosition(), GetSize(),
                   GetID(),
                   f,
                   GetPosition(), GetSize(),
-                  GetStyle(_T("style"), wxFNTP_DEFAULT_STYLE),
+                  GetStyle(wxT("style"), wxFNTP_DEFAULT_STYLE),
                   wxDefaultValidator,
                   GetName());
 
                   wxDefaultValidator,
                   GetName());