]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/window.h
fixed typo in testing whether wxUSE_NATIVE_STATUSBAR should be set to 0
[wxWidgets.git] / include / wx / msw / window.h
index d2dd37300d05ef691a8b149735415cb7037f5abb..1c480cc129236692f08f7b0aa3c1add4d4037221 100644 (file)
@@ -411,6 +411,9 @@ public:
     // check if mouse is in the window
     bool IsMouseInWindow() const;
 
+    // synthesize a wxEVT_LEAVE_WINDOW event and set m_mouseInWindow to false
+    void GenerateMouseLeave();
+
     // virtual function for implementing internal idle
     // behaviour
     virtual void OnInternalIdle() ;
@@ -422,10 +425,6 @@ protected:
     // the old window proc (we subclass all windows)
     WXFARPROC             m_oldWndProc;
 
-    // the current multi-window move structure handle, NULL if window resize is
-    // not in process
-    WXHANDLE              m_hDWP;
-
     // additional (MSW specific) flags
     bool                  m_mouseInWindow:1;
     bool                  m_lastKeydownProcessed:1;
@@ -478,6 +477,11 @@ protected:
     wxKeyEvent CreateKeyEvent(wxEventType evType, int id,
                               WXLPARAM lParam = 0, WXWPARAM wParam = 0) const;
 
+
+    // default OnEraseBackground() implementation, return true if we did erase
+    // the background, false otherwise
+    bool DoEraseBackground(wxDC& dc);
+
 private:
     // common part of all ctors
     void Init();
@@ -497,6 +501,10 @@ private:
     // number of calls to Freeze() minus number of calls to Thaw()
     unsigned int m_frozenness;
 
+    // current defer window position operation handle (may be NULL)
+    WXHANDLE m_hDWP;
+
+
     DECLARE_DYNAMIC_CLASS(wxWindowMSW)
     DECLARE_NO_COPY_CLASS(wxWindowMSW)
     DECLARE_EVENT_TABLE()