#include <creaImageIOWxGimmickReaderDialog.h>
#include <creaImageIOSystem.h>
-
+#include <creaImageIOGimmick.h>
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#endif
namespace creaImageIO
{
// CTor
{
GimmickDebugMessage(1,"WxGimmickReaderDialog::WxGimmickReaderDialog"
<<std::endl);
- wxBoxSizer *topsizer = new wxBoxSizer(wxVERTICAL);
+ mtopsizer = new wxBoxSizer(wxVERTICAL);
try {
return;
}
- topsizer->Add( mView,1,wxGROW,0);
+ mtopsizer->Add( mView,1,wxGROW,0);
wxSizer* bsizer = this->CreateSeparatedButtonSizer(wxOK|wxCANCEL);
/*mOkButton = new wxButton(this, wxID_OK, _T("OK"), wxPoint(170,50));
mCancelButton = (wxButton*)FindWindowById(GetEscapeId(), this);
mOkButton->Enable(false);
+ mtopsizer->Add ( bsizer, 0, wxGROW );
-topsizer->Add(mOkButton, 0, wxGROW);
-topsizer->Add(mCancelButton, 0, wxGROW);
- topsizer->Add ( bsizer, 0, wxGROW );
-
- SetSizer( topsizer );
+ SetSizer( mtopsizer );
Layout();
}
{
mGimmick->Finalize();
}
+
}
///Callback method on a selection
#include <creaImageIOWxGimmickView.h>
#include <creaWx.h>
#include "wx/wx.h"
-
-
-
namespace creaImageIO
{
- //=====================================================================
+ /**
+ * \ingroup GUI
+ */
+
+ //=====================================================================
//=====================================================================
class CREAIMAGEIO_EXPORT WxGimmickReaderDialog : public wxDialog
{
- public:
+ public:
WxGimmickReaderDialog();
WxGimmickReaderDialog(wxWindow *parent,
const wxWindowID id,
wxButton* mOkButton;
wxButton* mCancelButton;
+ wxBoxSizer *mtopsizer;
enum
{