]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bttn.cpp
Rename wxWebNavigationError to wxWebViewNavigationError and wxWebNavigationEvent...
[wxWidgets.git] / src / xrc / xh_bttn.cpp
index 963efd0848b238e1f0cabfb868a20eb0ac776f54..926b6849b99e649a69dbb82424b460fcf1f0fd59 100644 (file)
@@ -54,7 +54,7 @@ wxObject *wxButtonXmlHandler::DoCreateResource()
     if ( GetParamNode("bitmap") )
     {
         wxDirection dir;
     if ( GetParamNode("bitmap") )
     {
         wxDirection dir;
-        const wxString dirstr = GetParamValue("direction");
+        const wxString dirstr = GetParamValue("bitmapposition");
         if ( dirstr.empty() || dirstr == "wxLEFT" )
             dir = wxLEFT;
         else if ( dirstr == "wxRIGHT" )
         if ( dirstr.empty() || dirstr == "wxLEFT" )
             dir = wxLEFT;
         else if ( dirstr == "wxRIGHT" )