ResizableDialog.h

Go to the documentation of this file.
00001 
00009 #if !defined(__RESIZABLEDIALOG_H__)
00010 #define __RESIZABLEDIALOG_H__
00011 
00012 class wxSizer;
00013 #include <wx/dialog.h>
00014 
00022 class ResizableDialog : public wxDialog
00023 {
00024 public:
00025     ResizableDialog() : wxDialog(){}
00026 
00027     // full ctor
00028     ResizableDialog(wxWindow *parent, wxWindowID id,
00029              const wxString& title,
00030              const wxPoint& pos = wxDefaultPosition,
00031              const wxSize& size = wxDefaultSize,
00032              long style = wxDEFAULT_DIALOG_STYLE,
00033              const wxString& name = wxDialogNameStr)
00034              :wxDialog(parent,id,title,pos,size,style,name)
00035     {}
00036 
00037     bool Create(wxWindow *parent, wxWindowID id,
00038                 const wxString& title,
00039                 const wxPoint& pos = wxDefaultPosition,
00040                 const wxSize& size = wxDefaultSize,
00041                 long style = wxDEFAULT_DIALOG_STYLE,
00042                 const wxString& name = wxDialogNameStr)
00043     {
00044         return wxDialog::Create(parent,id,title,pos,size,style,name);
00045     }
00046     
00047     void ResizeToFitContents(wxSizer * sizer = 0);
00048 
00049 protected:
00050     //void Init() { wxDialog::Init(); }
00051 };
00052 
00053 #endif 
00054 

Generated on Mon Nov 15 11:15:55 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6