X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81f6ea4a29eb815dbed0adea369efdc8fece0269..968f291be6686f70b259d9449089be204e51080e:/include/wx/motif/dcclient.h diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index 6d088a05c6..c8f182c135 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -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: