Program: bbtk
Module: $RCSfile: bbwxColourSelector.cxx,v $
Language: C++
- Date: $Date: 2008/02/20 11:51:59 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/03/21 10:09:11 $
+ Version: $Revision: 1.2 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* \brief
*/
-
#ifdef _USE_WXWIDGETS_
-
#include "bbwxColourSelector.h"
#include "bbwxPackage.h"
#include <wx/colordlg.h>
-
-
namespace bbwx
{
BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,ColourSelector);
BBTK_USER_BLACK_BOX_IMPLEMENTATION(ColourSelector,bbtk::AtomicBlackBox);
-
void ColourSelector::bbUserConstructor()
{
}
void ColourSelector::Process()
- {
+ {
bbtkDebugMessageInc("Core",9,"ColourSelector::Process() ["
- <<bbGetFullName()<<"]"<<std::endl);
-
+ <<bbGetFullName()<<"]"<<std::endl);
+
wxColourDialog *colordialog = new wxColourDialog( 0 );
colordialog->ShowModal();
if (colordialog->GetReturnCode()==wxID_OK)
}
bbtkDebugDecTab("Core",9);
}
-
+
// void ColourSelector::CreateWidget()
// {
// mColorDialog = new wxColourSelector( 0 );