]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/window.h
fix memory leak; allocate the DC before SetFont() is called on the status bar
[wxWidgets.git] / include / wx / x11 / window.h
index a4353eaf9d0ac851fe77a274cdf387e7cfcdccf2..a958feb093719004a2b19ec4f6fa75235da99eb3 100644 (file)
@@ -190,7 +190,7 @@ private:
     void Init();
 
     DECLARE_DYNAMIC_CLASS(wxWindowX11)
-    DECLARE_NO_COPY_CLASS(wxWindowX11)
+    wxDECLARE_NO_COPY_CLASS(wxWindowX11);
     DECLARE_EVENT_TABLE()
 };