From: Vadim Zeitlin Date: Sat, 26 Nov 2005 14:40:32 +0000 (+0000) Subject: include missing header; add default values for wxPlotWindow ctor pos and size paramet... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4ad76303b5aa51350f9a3fe755790c00f9917b22 include missing header; add default values for wxPlotWindow ctor pos and size parameters for consistency with all the other wx classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/include/wx/plot/plot.h b/contrib/include/wx/plot/plot.h index d9de1776df..b2d59d7e26 100644 --- a/contrib/include/wx/plot/plot.h +++ b/contrib/include/wx/plot/plot.h @@ -14,9 +14,10 @@ #include "wx/defs.h" -#include "wx/scrolwin.h" -#include "wx/event.h" #include "wx/dynarray.h" +#include "wx/event.h" +#include "wx/pen.h" +#include "wx/scrolwin.h" #ifdef WXMAKINGDLL_PLOT #define WXDLLIMPEXP_PLOT WXEXPORT @@ -284,7 +285,11 @@ class WXDLLIMPEXP_PLOT wxPlotWindow: public wxScrolledWindow { public: wxPlotWindow() {} - wxPlotWindow( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int flags = wxPLOT_DEFAULT ); + wxPlotWindow(wxWindow *parent, + wxWindowID id = wxID_ANY, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + int flags = wxPLOT_DEFAULT); ~wxPlotWindow(); // curve accessors