]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/bmpbuttn.cpp
synthesize NM_RCLICK ourselves now that def window proc doesn't do it as we don't...
[wxWidgets.git] / src / univ / bmpbuttn.cpp
index 638d441937aa6888d654af9da861d092a05990e5..112dac3646b7e3e459f69cc79e0d966cce34a571 100644 (file)
@@ -64,7 +64,7 @@ bool wxBitmapButton::Create(wxWindow *parent,
     // we add wxBU_EXACTFIT because the bitmap buttons are not the standard
     // ones and so shouldn't be forced to be of the standard size which is
     // typically too big for them
-    if ( !wxButton::Create(parent, id, bitmap, _T(""),
+    if ( !wxButton::Create(parent, id, bitmap, wxEmptyString,
                            pos, size, style | wxBU_EXACTFIT, validator, name) )
         return false;