X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da86e1776517d2403a687de08947698f5a608219..370dc79c5a7fd9ac24fb001e38388a210750e2e7:/src/xrc/xh_bmp.cpp diff --git a/src/xrc/xh_bmp.cpp b/src/xrc/xh_bmp.cpp index ab18f0acb3..57d7985107 100644 --- a/src/xrc/xh_bmp.cpp +++ b/src/xrc/xh_bmp.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_bmp.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,7 +15,7 @@ #pragma hdrstop #endif -#if wxUSE_XML && wxUSE_XRC +#if wxUSE_XRC #include "wx/xrc/xh_bmp.h" #include "wx/bitmap.h" @@ -33,7 +29,7 @@ wxBitmapXmlHandler::wxBitmapXmlHandler() wxObject *wxBitmapXmlHandler::DoCreateResource() { - return new wxBitmap(GetBitmap(wxT(""))); + return new wxBitmap(GetBitmap(wxEmptyString)); } bool wxBitmapXmlHandler::CanHandle(wxXmlNode *node) @@ -50,7 +46,7 @@ wxIconXmlHandler::wxIconXmlHandler() wxObject *wxIconXmlHandler::DoCreateResource() { - return new wxIcon(GetIcon(wxT(""))); + return new wxIcon(GetIcon(wxEmptyString)); } bool wxIconXmlHandler::CanHandle(wxXmlNode *node) @@ -58,4 +54,4 @@ bool wxIconXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxIcon")); } -#endif // wxUSE_XML && wxUSE_XRC +#endif // wxUSE_XRC