]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statbmpg.h
Remove support for Gnome printing from wxGTK.
[wxWidgets.git] / include / wx / generic / statbmpg.h
index 010ec66012cedad1ce805813c947eecc3ef80d8e..8a8fa15dfd2cfddc5d793aaade02ddf02716f023 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxGenericStaticBitmap header
 // Author:      Marcin Wojdyr, Stefan Csomor
 // Created:     2008-06-16
-// RCS-ID:      $Id$
 // Copyright:   wxWidgets developers
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -45,9 +44,9 @@ public:
 
     virtual wxBitmap GetBitmap() const { return m_bitmap; }
 
-    virtual void SetIcon(const wxIcon& icon) 
-    { 
-        m_bitmap.CopyFromIcon(icon); 
+    virtual void SetIcon(const wxIcon& icon)
+    {
+        m_bitmap.CopyFromIcon(icon);
         SetInitialSize(GetBitmapSize());
         Refresh();
     }
@@ -59,9 +58,9 @@ public:
 
 
 private:
-    wxSize GetBitmapSize() 
+    wxSize GetBitmapSize()
     {
-        return m_bitmap.Ok() ? wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight())
+        return m_bitmap.IsOk() ? wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight())
                              : wxSize(16, 16); // this is completely arbitrary
     }