]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmp.cpp
(Flickery) fix for droppings when there are no notebook pages
[wxWidgets.git] / src / xrc / xh_bmp.cpp
index 47356ff0eddd2b3cb0696f4bf9bf6ad6abcb8740..f2c1a15a4386b3d94b2c2a2c6ff05482a0f8c2f9 100644 (file)
@@ -33,7 +33,7 @@ wxBitmapXmlHandler::wxBitmapXmlHandler()
 
 wxObject *wxBitmapXmlHandler::DoCreateResource()
 {
-    return new wxBitmap(GetBitmap(wxT("")));
+    return new wxBitmap(GetBitmap(wxEmptyString));
 }
 
 bool wxBitmapXmlHandler::CanHandle(wxXmlNode *node)
@@ -50,7 +50,7 @@ wxIconXmlHandler::wxIconXmlHandler()
 
 wxObject *wxIconXmlHandler::DoCreateResource()
 {
-    return new wxIcon(GetIcon(wxT("")));
+    return new wxIcon(GetIcon(wxEmptyString));
 }
 
 bool wxIconXmlHandler::CanHandle(wxXmlNode *node)