]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/window.h
remove wxDateTime tests which were already extracted as tests/datetime/datetime.cpp...
[wxWidgets.git] / interface / wx / window.h
index ffa3548aec30e15c2f321e8d02148d56337a207d..4ac6a5b0a3b338183e15eb9e84597a02e5681d5d 100644 (file)
@@ -1423,8 +1423,14 @@ public:
     //@{
 
     /**
-        Clears the window by filling it with the current background colour. Does not
-        cause an erase background event to be generated.
+        Clears the window by filling it with the current background colour.
+
+        Does not cause an erase background event to be generated.
+
+        Notice that this uses wxClientDC to draw on the window and the results
+        of doing it while also drawing on wxPaintDC for this window are
+        undefined. Hence this method shouldn't be used from EVT_PAINT handlers,
+        just use wxDC::Clear() on the wxPaintDC you already use there instead.
     */
     virtual void ClearBackground();
 
@@ -1846,8 +1852,8 @@ public:
         This method is similar to ProcessWindowEvent() but can be used to
         search for the event handler only in this window and any event handlers
         pushed on top of it. Unlike ProcessWindowEvent() it won't propagate the
-        event upwards. But unlike wxEvtHandler::ProcessEventHere() it will use
-        the event handlers associated with this window.
+        event upwards. But it will use the validator and event handlers
+        associated with this window, if any.
 
         @since 2.9.1
      */