Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

OptGeneral.cpp

Go to the documentation of this file.
00001 
00002 // MathGUI = a WYSIWYG equation editor + a powerful math engine      //
00003 // Copyright (C) 2003 by Francesco Montorsi                          //
00004 //                                                                   //
00005 // This library is free software; you can redistribute it and/or     //
00006 // modify it under the terms of the GNU Lesser General Public        //
00007 // License as published by the Free Software Foundation; either      //
00008 // version 2.1 of the License, or (at your option) any later         //
00009 // version.                                                          //
00010 //                                                                   //
00011 // This library is distributed in the hope that it will be useful,   //
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of    //
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the      //
00014 // GNU Lesser General Public License for more details.               //
00015 //                                                                   //
00016 // You should have received a copy of the GNU Lesser General Public  //
00017 // License along with this program; if not, write to the Free        //
00018 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,   //
00019 // MA 02111-1307, USA.                                               //
00020 //                                                                   //
00021 // For any comment, suggestion or feature request, please contact    //
00022 // the administrator of the project at frm@users.sourceforge.net     //
00023 //                                                                   //
00030 
00031 
00032 
00033 // optimization for GCC compiler
00034 #if defined(__GNUG__) && !defined(__APPLE__)
00035   #pragma implementation "OptGeneral.h"
00036 #endif
00037 
00038 // includes
00039 #include "mg/mgprec.h"
00040 
00041 #ifndef mgPRECOMP
00042    #include "mc/MathCore.h"
00043    #include "mg/OptGeneral.h"
00044 #endif
00045 
00046 
00047 
00048 
00049 // event table for mgOptGeneralPanel
00050 IMPLEMENT_DYNAMIC_CLASS(mgOptGeneralPanel, mgOptBasePanel )
00051 BEGIN_EVENT_TABLE( mgOptGeneralPanel, mgOptBasePanel )
00052 
00053 END_EVENT_TABLE()
00054 
00055 
00056 
00057 mgOptGeneralPanel::mgOptGeneralPanel()
00058 {
00059 
00060 }
00061 
00062 void mgOptGeneralPanel::BuildCtrls()
00063 {
00064 }
00065 
00066 void mgOptGeneralPanel::Setup(const wxString &itemLabel)
00067 {
00068    BuildCtrls();
00069 
00070    
00071    // create the main sizer
00072    wxStaticBox *sb = new wxStaticBox( this, -1, itemLabel, wxDefaultPosition,
00073       wxDefaultSize, wxTHICK_FRAME );
00074    wxStaticBoxSizer *mainSizer = new wxStaticBoxSizer(sb, wxVERTICAL);
00075 
00076    // add a short description
00077    mainSizer->Add(new wxStaticText(this, -1, wxT("STILL NOT WORKING...")));
00078 
00079    SetSizer(mainSizer);
00080    mainSizer->SetSizeHints(this);
00081 }
00082 
00083 mgOptDlg::mgOptChangedType
00084 mgOptGeneralPanel::CommitChanges( wxConfig* config )
00085 {
00086   mgLogDebug( wxT("mgOptGeneralPanel::CommitChanges()\n") );
00087   return mgOptDlg::OptChanged_None;
00088 }
00089 
00090 


Documentation generated with Doxygen on Sun Feb 6 17:19:26 2005
Visit MathStudio home page for more info

[ Top ]