]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/window.h
compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were...
[wxWidgets.git] / include / wx / univ / window.h
index a01a6e29b46172e6702a133cf33a7175c551fcbf..b352f7ff07e97f5ee47261792f5deb62ad8f9319 100644 (file)
@@ -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: