untested changes...
[wxWidgets.git] / user / wxLayout / wxlwindow.h
index e8cb71b4d8c75fb8231537655386fbcb823507b3..00b50ed3a7071b45b640137e97eada6ee580db30 100644 (file)
@@ -65,20 +65,7 @@ public:
               int weight=wxNORMAL,
               int underline=0,
               wxColour *fg=NULL,
-              wxColour *bg=NULL)
-      {
-         GetLayoutList()->Clear(family,size,style,weight,underline,fg,bg);
-         SetBackgroundColour(GetLayoutList()->GetDefaults()->GetBGColour());
-         ResizeScrollbars(true);
-         SetDirty();
-         SetModified(false);
-         wxRect r;
-         int w,h;
-         r.x = r.y = 0; GetSize(&w,&h);
-         r.width = w;
-         r.height = h;
-         DoPaint(&r);
-      }
+              wxColour *bg=NULL);
    /** Sets a background image, only used on screen, not on printouts.
        @param bitmap a pointer to a wxBitmap or NULL to remove it
    */
@@ -95,8 +82,12 @@ public:
    void Paste(void);
    /// Copies selection to clipboard.
    bool Copy(void);
-   
+   /// Copies selection to clipboard and deletes it.
+   bool Cut(void);
    //@}
+
+   bool Find(const wxString &needle,
+             wxPoint * fromWhere = NULL);
    
    void EnablePopup(bool enable = true) { m_DoPopupMenu = enable; }