X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/878ddad57a352a5609fd7bfd63406ed5f2aac564..a9102b3671a45d116d781b0c8e90d2e9a84fbdcb:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 508875a488..06b9ad44d4 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -424,11 +424,11 @@ public: // Override these methods for windows that have a virtual size // independent of their client size. eg. the virtual area of a - // wxScrolledWindow. + // wxScrolledWindow. virtual void DoSetVirtualSize( int x, int y ); virtual wxSize DoGetVirtualSize() const; - + // Return the largest of ClientSize and BestSize (as determined // by a sizer, interior children, or other means) @@ -759,6 +759,14 @@ public: m_inheritBgCol = false; } wxColour GetBackgroundColour() const; + bool InheritsBackgroundColour() const + { + return m_inheritBgCol; + } + bool UseBgCol() const + { + return m_hasBgCol; + } // if the window shouldn't inherit its colour from the parent, override // this function to return true