]> git.saurik.com Git - wxWidgets.git/commitdiff
[1231183] 'cleanup: mismatched indentation' and other cleanings.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 22 Jul 2005 16:56:26 +0000 (16:56 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 22 Jul 2005 16:56:26 +0000 (16:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/fontutil.h
include/wx/mac/carbon/gdiobj.h
include/wx/object.h

index 1a1b917ba1675fad1aa772e43d544df0945bdfe6..2b26dc517169b1a894fe0cc36c29a48bc2f27734 100644 (file)
@@ -166,7 +166,7 @@ public:
         if ( font.IsUsingSizeInPixels() )
             SetPixelSize(font.GetPixelSize());
         else
-        SetPointSize(font.GetPointSize());
+            SetPointSize(font.GetPointSize());
 #else
         SetPointSize(font.GetPointSize());
 #endif
index 1ad618bf8481a72d599a6784359e4077905cd0a2..e9e7baab0508d9395af09a79be568fbff8c4e7d9 100644 (file)
@@ -22,26 +22,27 @@ class WXDLLEXPORT wxGDIRefData: public wxObjectRefData {
 public:
     inline wxGDIRefData()
     {
-     }
+    }
 };
 
 #define M_GDIDATA ((wxGDIRefData *)m_refData)
 
 class WXDLLEXPORT wxGDIObject: public wxObject
 {
-DECLARE_DYNAMIC_CLASS(wxGDIObject)
- public:
-  wxGDIObject() : m_visible(FALSE) { }
-  ~wxGDIObject() { }
+    DECLARE_DYNAMIC_CLASS(wxGDIObject)
 
-  bool IsNull() const { return (m_refData == 0); }
+public:
+    wxGDIObject() : m_visible(false) { }
+    ~wxGDIObject() { }
+
+    bool IsNull() const { return (m_refData == 0); }
 
-  virtual bool GetVisible() { return m_visible; }
-  virtual void SetVisible(bool v) { m_visible = v; }
+    virtual bool GetVisible() { return m_visible; }
+    virtual void SetVisible(bool v) { m_visible = v; }
 
 protected:
-  bool m_visible; // Can a pointer to this object be safely taken?
-                 // - only if created within FindOrCreate...
+    bool m_visible; // Can a pointer to this object be safely taken?
+                    // - only if created within FindOrCreate...
 };
 
 #endif
index 8f949c0979586d1cfd09edf12400efd918e89511..0b5978bf984fbad76fd0bd04bc63c8fdcf15cff8 100644 (file)
@@ -409,9 +409,9 @@ public:
     virtual ~wxObject() { UnRef(); }
 
     wxObject(const wxObject& other)
-        {
-            InitFrom(other);
-        }
+    {
+        InitFrom(other);
+    }
 
     wxObject& operator=(const wxObject& other)
     {