No changes, just simplify preprocessor checks in wxMSW wxTextEntry.
[wxWidgets.git] / include / wx / osx / button.h
index 5b189fc940fb1a14fbb7635cdca0229081aaf9c5..70b50548554e4c8e51a30b90ce5c008f59983101 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        button.h
+// Name:        wx/osx/button.h
 // Purpose:     wxButton class
 // Author:      Stefan Csomor
 // Modified by:
@@ -56,7 +56,7 @@ protected:
 
     void OnEnterWindow( wxMouseEvent& event);
     void OnLeaveWindow( wxMouseEvent& event);
-    
+
     virtual wxBitmap DoGetBitmap(State which) const;
     virtual void DoSetBitmap(const wxBitmap& bitmap, State which);
     virtual void DoSetBitmapPosition(wxDirection dir);
@@ -67,7 +67,12 @@ protected:
         m_marginY = y;
         InvalidateBestSize();
     }
-    
+
+#if wxUSE_MARKUP && wxOSX_USE_COCOA
+    virtual bool DoSetLabelMarkup(const wxString& markup);
+#endif // wxUSE_MARKUP && wxOSX_USE_COCOA
+
+
     // the margins around the bitmap
     int m_marginX;
     int m_marginY;
@@ -75,8 +80,8 @@ protected:
     // 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
-    wxBitmap m_bitmaps[State_Max];    
-    
+    wxBitmap m_bitmaps[State_Max];
+
     DECLARE_DYNAMIC_CLASS(wxButton)
     DECLARE_EVENT_TABLE()
 };