]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcclient.h
refactoring/simplification of code dealing with scrollbars and their events
[wxWidgets.git] / include / wx / motif / dcclient.h
index 6d088a05c63cce9d3f4fc57059430337abfdc0bf..5a00c3cd2fe69dda31629043cdb275c1e89bffe2 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcclient.h
+// Name:        wx/motif/dcclient.h
 // Purpose:     wxClientDC, wxPaintDC and wxWindowDC classes
 // Author:      Julian Smart
 // Modified by:
@@ -82,7 +82,7 @@ public:
     WXGC GetGC() const { return m_gc; }
     WXGC GetBackingGC() const { return m_gcBacking; }
     WXDisplay* GetDisplay() const { return m_display; }
-    bool GetAutoSetting() const { return m_autoSetting; }
+    bool GetAutoSetting() const { return (m_autoSetting != 0); } // See comment in dcclient.cpp
     void SetAutoSetting(bool flag) { m_autoSetting = flag; }
 
 protected:
@@ -187,4 +187,3 @@ public:
 };
 
 #endif // _WX_DCCLIENT_H_
-