X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3795cdba1b3d38d6bb673a28503d7b15d97f3a51..1411f7eb1a86d2ec4c89340262be0405b77091d0:/include/wx/univ/window.h?ds=inline diff --git a/include/wx/univ/window.h b/include/wx/univ/window.h index a01a6e29b4..b352f7ff07 100644 --- a/include/wx/univ/window.h +++ b/include/wx/univ/window.h @@ -193,6 +193,9 @@ public: // we refresh the window when it is dis/enabled virtual bool Enable(bool enable = TRUE); + // should we use the standard control colours or not? + virtual bool ShouldInheritColours() const { return false; } + protected: // common part of all ctors void Init(); @@ -261,7 +264,7 @@ protected: #ifdef __WXMSW__ // override MSWWindowProc() to process WM_NCHITTEST - long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); #endif // __WXMSW__ private: