[1231183] 'cleanup: mismatched indentation' and other cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -166,7 +166,7 @@ public:
|
||||
if ( font.IsUsingSizeInPixels() )
|
||||
SetPixelSize(font.GetPixelSize());
|
||||
else
|
||||
SetPointSize(font.GetPointSize());
|
||||
SetPointSize(font.GetPointSize());
|
||||
#else
|
||||
SetPointSize(font.GetPointSize());
|
||||
#endif
|
||||
|
@@ -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() { }
|
||||
|
||||
virtual bool GetVisible() { return m_visible; }
|
||||
virtual void SetVisible(bool v) { m_visible = v; }
|
||||
bool IsNull() const { return (m_refData == 0); }
|
||||
|
||||
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
|
||||
|
@@ -409,9 +409,9 @@ public:
|
||||
virtual ~wxObject() { UnRef(); }
|
||||
|
||||
wxObject(const wxObject& other)
|
||||
{
|
||||
InitFrom(other);
|
||||
}
|
||||
{
|
||||
InitFrom(other);
|
||||
}
|
||||
|
||||
wxObject& operator=(const wxObject& other)
|
||||
{
|
||||
|
Reference in New Issue
Block a user