From 66e9a9f0ae9cccd52b1a8f9828a3e054803fefb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 22 Jul 2005 16:56:26 +0000 Subject: [PATCH] [1231183] 'cleanup: mismatched indentation' and other cleanings. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/fontutil.h | 2 +- include/wx/mac/carbon/gdiobj.h | 21 +++++++++++---------- include/wx/object.h | 6 +++--- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index 1a1b917ba1..2b26dc5171 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -166,7 +166,7 @@ public: if ( font.IsUsingSizeInPixels() ) SetPixelSize(font.GetPixelSize()); else - SetPointSize(font.GetPointSize()); + SetPointSize(font.GetPointSize()); #else SetPointSize(font.GetPointSize()); #endif diff --git a/include/wx/mac/carbon/gdiobj.h b/include/wx/mac/carbon/gdiobj.h index 1ad618bf84..e9e7baab05 100644 --- a/include/wx/mac/carbon/gdiobj.h +++ b/include/wx/mac/carbon/gdiobj.h @@ -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 diff --git a/include/wx/object.h b/include/wx/object.h index 8f949c0979..0b5978bf98 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -409,9 +409,9 @@ public: virtual ~wxObject() { UnRef(); } wxObject(const wxObject& other) - { - InitFrom(other); - } + { + InitFrom(other); + } wxObject& operator=(const wxObject& other) { -- 2.47.2