]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/window.h
fix to tex format documentation for wxSVG
[wxWidgets.git] / include / wx / msw / window.h
index 1879fef243b2c8cf4843531d3ba214eb3be1c264..cbe843dd7b02a6d0805bd1f18269f166b34b95ca 100644 (file)
@@ -204,6 +204,11 @@ public:
     WXFARPROC MSWGetOldWndProc() const { return m_oldWndProc; }
     void MSWSetOldWndProc(WXFARPROC proc) { m_oldWndProc = proc; }
 
+    // return TRUE if the window is of a standard (i.e. not wxWindows') class
+    //
+    // to understand why does it work, look at SubclassWin() code and comments
+    bool IsOfStandardClass() const { return m_oldWndProc != NULL; }
+
     wxWindow *FindItem(long id) const;
     wxWindow *FindItemByHWND(WXHWND hWnd, bool controlOnly = FALSE) const;