From: jean-pierre roux Date: Wed, 6 Jul 2011 12:30:03 +0000 (+0000) Subject: Right order for constructor initialization list X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6bc800b214d523cc7d4e9ad89391270cd934f476;p=bbtk.git Right order for constructor initialization list + warning about deprecated --- diff --git a/packages/wx/src/bbwxCheckBox.cxx b/packages/wx/src/bbwxCheckBox.cxx index 67afbb7..9770d6c 100644 --- a/packages/wx/src/bbwxCheckBox.cxx +++ b/packages/wx/src/bbwxCheckBox.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbwxCheckBox.cxx,v $ Language: C++ - Date: $Date: 2010/05/03 08:06:14 $ - Version: $Revision: 1.3 $ + Date: $Date: 2011/07/06 12:30:03 $ + Version: $Revision: 1.4 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -71,8 +71,8 @@ namespace bbwx private: CheckBox* mBox; wxCheckBox *mwxCheckBox; - int _reactiveOnKeyStroke; - bool val; + int _reactiveOnKeyStroke; + bool val; }; //------------------------------------------------------------------------ //------------------------------------------------------------------------ @@ -87,8 +87,8 @@ namespace bbwx : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL), mBox(box), - val(value), - _reactiveOnKeyStroke(reactiveOnKeyStroke) + _reactiveOnKeyStroke(reactiveOnKeyStroke), + val(value) { wxPanel * panel = this; int sizeX, sizeY;