]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/window.h
Fix for detection of motif headers when they are in a different place to X11,
[wxWidgets.git] / include / wx / msw / window.h
index d322098a87b37d14ddc935d611319cd1be6b5104..10e33d8b1c180351b2c68391acadb37f86043224 100644 (file)
@@ -166,6 +166,9 @@ public:
     void AssociateHandle(WXWidget handle);
     void DissociateHandle();
 
+    // does this window have deferred position and/or size?
+    bool IsSizeDeferred() const;
+
 
     // implementation from now on
     // ==========================
@@ -458,7 +461,10 @@ protected:
     // this simply moves/resizes the given HWND which is supposed to be our
     // sibling (this is useful for controls which are composite at MSW level
     // and for which DoMoveWindow() is not enough)
-    void DoMoveSibling(WXHWND hwnd, int x, int y, int width, int height);
+    //
+    // returns true if the window move was deferred, false if it was moved
+    // immediately (no error return)
+    bool DoMoveSibling(WXHWND hwnd, int x, int y, int width, int height);
 
     // move the window to the specified location and resize it: this is called
     // from both DoSetSize() and DoSetClientSize() and would usually just call