*/
#ifdef _DEBUG
-void wxAppConsole::OnAssert(char const *,int,char const *,char const *)
-{
-}
+//void wxAppConsole::OnAssert(char const *,int,char const *,char const *)
+//{
+//}
-void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,char const *)
-{
-}
+//void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,char const *)
+//{
+//}
#endif
bool wxTheApplication::OnInit()
//JCP
//std::string datadir( crea::wx2std(GetExecutablePath()) );
std::string datadir( crea::System::GetExecutablePath() );
+
//JCP
#ifdef LINUX /* assume this is OSX */
datadir=datadir+"/../share/creaContours";
Connect(b4->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1);
Connect(b5->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1);
Connect(b6->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&interfMainPanel::onActionButtonPressed1);
- this->Layout();
+ this->Layout();
}
interfMainPanel::~interfMainPanel(void)
void wxContourMainFrame::setVectImages(std::vector<vtkImageData*> imgs)
{
_images = imgs;
- #if defined(__GNUC__)
- std::string str_home(getenv("HOME"));
- #elif defined(_WIN32)
+ #if defined(_WIN32)
std::string str_home(getenv("USERPROFILE"));
+ #elif defined(__GNUC__)
+ std::string str_home(getenv("HOME"));
#endif
std::string strCreaContourDataTmp = str_home + "/.creaContourDataTemp/";
std::vector<std::string> conceptNameVect;