/***************************************************************************\ | Project: AE Installer | | By: Gumby & Iritscen | | File: App_Resources.cpp | | Function: Creates the menubar and loads image resources into memory. | | Created: 06/05/2009 08:47:16 | \***************************************************************************/ ////@begin includes ////@end includes #include "globals.h" #include "app_resources.h" ////@begin XPM images ////@end XPM images /*! * Resource functions */ ////@begin AppResources resource functions /* * Menubar creation function for ID_MENUBAR */ wxMenuBar* AppResources::CreateMenuMenubar() { wxMenuBar* menuBar = new wxMenuBar; wxMenu* itemMenu2 = new wxMenu; itemMenu2->Append(Open, _("Open"), wxEmptyString, wxITEM_NORMAL); menuBar->Append(itemMenu2, _("File")); wxMenu* itemMenu4 = new wxMenu; menuBar->Append(itemMenu4, _("Menu")); wxMenu* itemMenu5 = new wxMenu; menuBar->Append(itemMenu5, _("Menu")); wxMenu* itemMenu6 = new wxMenu; menuBar->Append(itemMenu6, _("Menu")); return menuBar; } ////@end AppResources resource functions /*! * Get bitmap resources */ wxBitmap AppResources::GetBitmapResource( const wxString& name ) { // Bitmap retrieval ////@begin AppResources bitmap retrieval wxUnusedVar(name); return wxNullBitmap; ////@end AppResources bitmap retrieval } /*! * Get icon resources */ wxIcon AppResources::GetIconResource( const wxString& name ) { wxUnusedVar(name); // Icon retrieval ////@begin AppResources icon retrieval wxUnusedVar(name); return wxNullIcon; ////@end AppResources icon retrieval }