Changed resource names to be lowercase, and to match the filenames (or what they should be);

Replaced all direct construction of bitmaps and icons using wxBitmap("name") with load_resource_* calls.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@191 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-01-30 18:29:02 +00:00
parent 315af1f14a
commit 51546ca2d8
17 changed files with 243 additions and 221 deletions
+3 -3
View File
@@ -15,11 +15,11 @@
AboutWindow::AboutWindow(Window* parent)
: wxDialog(parent, wxID_ANY, _TITLE_("about"), wxDefaultPosition, wxSize(510,340), wxCLIP_CHILDREN | wxDEFAULT_DIALOG_STYLE)
, logo (load_resource_image(_("ABOUT")))
, logo2(load_resource_image(_("TWO")))
, logo (load_resource_image(_("about")))
, logo2(load_resource_image(_("two")))
{
// init controls
wxButton* ok_button = new HoverButton(this, wxID_OK, _("BTN_OK"));
wxButton* ok_button = new HoverButton(this, wxID_OK, _("btn_ok"));
wxSize bs = ok_button->GetSize(), ws = GetClientSize();
ok_button->Move(ws.GetWidth() - bs.GetWidth(), ws.GetHeight() - bs.GetHeight()); // align bottom right
}