]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/button.h
Fix assert when destroying wxDataViewCtrl being edited in wxGTK.
[wxWidgets.git] / include / wx / gtk / button.h
index 7d1e5847a1afc79be2435897c37246243272a77d..8116c10f3b7b56781ea1877715bd8cb82823ff8e 100644 (file)
@@ -67,6 +67,10 @@ protected:
     virtual void DoSetBitmap(const wxBitmap& bitmap, State which);
     virtual void DoSetBitmapPosition(wxDirection dir);
 
+#if wxUSE_MARKUP
+    virtual bool DoSetLabelMarkup(const wxString& markup);
+#endif // wxUSE_MARKUP
+
 private:
     typedef wxButtonBase base_type;
 
@@ -91,6 +95,10 @@ private:
     // show the given bitmap (must be valid)
     void GTKDoShowBitmap(const wxBitmap& bitmap);
 
+    // Return the GtkLabel used by this button.
+    GtkLabel *GTKGetLabel() const;
+
+
     // the bitmaps for the different state of the buttons, all of them may be
     // invalid and the button only shows a bitmap at all if State_Normal bitmap
     // is valid