: m_pendingPosition(wxDefaultPosition),
m_pendingSize(wxDefaultSize)
{}
-
+
wxPoint m_pendingPosition;
wxSize m_pendingSize;
};
#if USE_DEFER_BUG_WORKAROUND
delete m_extraData;
-#endif
+#endif
}
// real construction (Init() must have been called before!)
pRect = NULL;
}
-#ifndef __SMARTPHONE__
+ // RedrawWindow not available on SmartPhone or eVC++ 3
+#if !defined(__SMARTPHONE__) && !(defined(_WIN32_WCE) && _WIN32_WCE < 400)
UINT flags = RDW_INVALIDATE | RDW_ALLCHILDREN;
if ( eraseBack )
flags |= RDW_ERASE;
currentX = m_extraData->m_pendingPosition.x;
if (currentX == wxDefaultCoord)
GetPosition(¤tX, NULL);
-
+
currentY = m_extraData->m_pendingPosition.y;
if (currentY == wxDefaultCoord)
GetPosition(NULL, ¤tY);
-
+
currentW = m_extraData->m_pendingSize.x;
if (currentW == wxDefaultCoord)
GetSize(¤tW, NULL);
currentH = m_extraData->m_pendingSize.y;
if (currentH == wxDefaultCoord)
GetSize(NULL, ¤tH);
-#else
+#else
GetPosition(¤tX, ¤tY);
GetSize(¤tW, ¤tH);
#endif