Various Dialog Editor-related mods; Dlg Ed. getting usable now under MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -214,7 +214,7 @@ bool wxResourceTableWithSaving::SaveResource(ostream& stream, wxItemResource *it
|
||||
else if (itemType == "wxStaticBox")
|
||||
{
|
||||
GenerateControlStyleString(itemType, item->GetStyle(), styleBuf);
|
||||
stream << item->GetId() << ", " << "wxGroupBox, " << SafeWord(item->GetTitle()) << ", '" << styleBuf << "', ";
|
||||
stream << item->GetId() << ", " << "wxStaticBox, " << SafeWord(item->GetTitle()) << ", '" << styleBuf << "', ";
|
||||
stream << SafeWord(item->GetName()) << ", " << item->GetX() << ", " << item->GetY() << ", ";
|
||||
stream << item->GetWidth() << ", " << item->GetHeight();
|
||||
if (item->GetFont())
|
||||
@@ -329,7 +329,7 @@ bool wxResourceTableWithSaving::SaveResource(ostream& stream, wxItemResource *it
|
||||
stream << item->GetWidth() << ", " << item->GetHeight();
|
||||
|
||||
if (itemType == "wxComboBox")
|
||||
stream << SafeWord(item->GetValue4()) << ", ";
|
||||
stream << ", " << SafeWord(item->GetValue4());
|
||||
|
||||
// Default list of values
|
||||
|
||||
@@ -509,6 +509,12 @@ bool wxResourceTableWithSaving::SaveResource(ostream& stream, wxItemResource *it
|
||||
}
|
||||
stream << ").\";\n\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
wxString str("Unimplemented resource type: ");
|
||||
str += itemType;
|
||||
wxMessageBox(str);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user