]> Creatis software - bbtk.git/commitdiff
Right order for constructor initialization list
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 6 Jul 2011 12:30:03 +0000 (12:30 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 6 Jul 2011 12:30:03 +0000 (12:30 +0000)
+ warning about deprecated

packages/wx/src/bbwxCheckBox.cxx

index 67afbb7666c934dbbcf34f910830d2c5daee660c..9770d6cb11c8eb736fa5514872fccbfe8447883c 100644 (file)
@@ -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;