git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35350
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void AssociateHandle(WXWidget handle);
void DissociateHandle();
+ // does this window have deferred position and/or size?
+ bool IsSizeDeferred() const;
+
// implementation from now on
// ==========================
// moving and resizing
// ---------------------------------------------------------------------------
+bool wxWindowMSW::IsSizeDeferred() const
+{
+#if USE_DEFERRED_SIZING
+ if ( m_pendingPosition != wxDefaultPosition ||
+ m_pendingSize != wxDefaultSize )
+ return true;
+#endif // USE_DEFERRED_SIZING
+
+ return false;
+}
+
// Get total size
void wxWindowMSW::DoGetSize(int *x, int *y) const
{
useDefer = true;
}
}
-#endif
+#endif // USE_DEFERRED_SIZING
// update this window size
bool processed = false;