Program: bbtk
Module: $RCSfile: bbwxColourSelector.cxx,v $
Language: C++
- Date: $Date: 2008/03/21 10:09:11 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2008/06/26 07:37:11 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,ColourSelector);
- BBTK_USER_BLACK_BOX_IMPLEMENTATION(ColourSelector,bbtk::AtomicBlackBox);
+ BBTK_BLACK_BOX_IMPLEMENTATION(ColourSelector,bbtk::AtomicBlackBox);
void ColourSelector::bbUserConstructor()
{
<<bbGetFullName()<<"]"<<std::endl);
wxColourDialog *colordialog = new wxColourDialog( 0 );
- colordialog->ShowModal();
+ int result_colordialog = colordialog->ShowModal();
+
+ // This line is need it by windows // EED
+ colordialog->SetReturnCode( result_colordialog );
+
if (colordialog->GetReturnCode()==wxID_OK)
{
char col[100];