git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14993
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// dialog window proc
// ---------------------------------------------------------------------------
// dialog window proc
// ---------------------------------------------------------------------------
+BOOL CALLBACK wxRefreshChildProc(HWND hwnd, LPARAM WXUNUSED(lParam))
+{
+ ::InvalidateRect(hwnd, NULL, FALSE /* don't erase bg */);
+
+ // continue enumeration
+ return TRUE;
+}
+
long wxDialog::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
{
long rc = 0;
long wxDialog::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
{
long rc = 0;
processed = TRUE;
if ( !HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) )
{
processed = TRUE;
if ( !HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) )
{
+ ::EnumChildWindows(GetHwnd(), wxRefreshChildProc, 0);