Source cleaning: whitespaces & tabs, ::, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
#endif
|
||||
#endif
|
||||
#elif defined( __CYGWIN__ ) && !defined( HAVE_W32API_H )
|
||||
#if ( __GNUC__ > 2 )
|
||||
#if ( __GNUC__ > 2 )
|
||||
#define HAVE_W32API_H
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
|
||||
#if (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
|
||||
#define HAVE_W32API_H
|
||||
#endif
|
||||
|
||||
|
@@ -176,7 +176,7 @@ public:
|
||||
void SetSize(const wxSize& size) { SetSize(size.x, size.y); }
|
||||
|
||||
// forward some of base class virtuals to wxGDIImageRefData
|
||||
bool FreeResource(bool force = FALSE);
|
||||
bool FreeResource(bool force = false);
|
||||
virtual WXHANDLE GetResourceHandle() const;
|
||||
|
||||
protected:
|
||||
|
@@ -36,15 +36,15 @@ class WXDLLEXPORT wxGDIRefData : public wxObjectRefData
|
||||
class WXDLLEXPORT wxGDIObject : public wxObject
|
||||
{
|
||||
public:
|
||||
wxGDIObject() { m_visible = FALSE; };
|
||||
wxGDIObject() { m_visible = false; };
|
||||
|
||||
// Creates the resource
|
||||
virtual bool RealizeResource() { return FALSE; };
|
||||
virtual bool RealizeResource() { return false; };
|
||||
|
||||
// Frees the resource
|
||||
virtual bool FreeResource(bool WXUNUSED(force) = FALSE) { return FALSE; }
|
||||
virtual bool FreeResource(bool WXUNUSED(force) = false) { return false; }
|
||||
|
||||
virtual bool IsFree() const { return FALSE; }
|
||||
virtual bool IsFree() const { return false; }
|
||||
|
||||
bool IsNull() const { return (m_refData == 0); }
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
virtual void SetVisible(bool v) { m_visible = v; }
|
||||
|
||||
protected:
|
||||
bool m_visible; // TRUE only if we should delete this object ourselves
|
||||
bool m_visible; // true only if we should delete this object ourselves
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxGDIObject)
|
||||
|
Reference in New Issue
Block a user