Skip to content

Commit

Permalink
Merge pull request #2 from tyler-dodge/master
Browse files Browse the repository at this point in the history
Further linux compatibility
  • Loading branch information
ajoslin committed Dec 23, 2011
2 parents 573e334 + fc601a8 commit cead255
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lua=$(src)lua/
view=$(src)view/
util=$(src)util/
genie=$(src)genie/
libs=-llua `wx-config --cxxflags --libs`
libs=-llua `wx-config --cxxflags --libs` -lz

#all the source files
genieFiles=$(genie)Condition.cpp $(genie)Effect.cpp $(genie)Trigger.cpp $(genie)Scenario.cpp
Expand All @@ -30,7 +30,7 @@ objFiles=$(subst $(src),$(objs),$(srcFiles:.cpp=.o))

#main compilation, final linking
.PHONY: program
program: $(objFiles)
$(outName): $(objFiles)
g++ $(objFiles) $(libs) $(linker) -o $(outName)

#Uses makefiles created by dependency generation for source files
Expand Down
8 changes: 4 additions & 4 deletions src/view/LTPage_Script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void LTPage_Script::onPickTargetCheckBoxChanged(wxCommandEvent &event)
else
{
pickTargetButton->Enable(true);
pickTargetButton->SetLabel("Browse...");
pickTargetButton->SetLabel(wxT("Browse..."));
}
}

Expand All @@ -94,7 +94,7 @@ void LTPage_Script::setBaseScenario(wxFileName *fname)
baseScenario->Assign(fname->GetFullPath());

if (!fname->FileExists())
pickBaseComboBox->SetValue("None");
pickBaseComboBox->SetValue(wxT("None"));
else
pickBaseComboBox->SetValue(fname->GetFullName());

Expand Down Expand Up @@ -125,7 +125,7 @@ void LTPage_Script::setTargetScenario(wxFileName *fname)
void LTPage_Script::updatePickBaseComboBox()
{
pickBaseComboBox->Clear();
pickBaseComboBox->Append("None", dummyScenFile);
pickBaseComboBox->Append(wxT("None"), dummyScenFile);
for (int i=0; i<frame->openFiles.size(); i++)
if (frame->openFiles[i]->getType()==FTYPE_Scenario)
pickBaseComboBox->Append(frame->openFiles[i]->file->GetFullName(), (wxClientData *)frame->openFiles[i]->file);
Expand All @@ -143,4 +143,4 @@ void LTPage_Script::write(wxFileName *fname)

void LTPage_Script::read()
{
}
}

0 comments on commit cead255

Please sign in to comment.