From 4ad76303b5aa51350f9a3fe755790c00f9917b22 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Nov 2005 14:40:32 +0000 Subject: [PATCH] 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 --- contrib/include/wx/plot/plot.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 -- 2.45.2