diff --git a/src/sbbs3/userlist/SBBS_User_ListMain.cpp b/src/sbbs3/userlist/SBBS_User_ListMain.cpp index 0804aff2e0f444bfdadf4a61be172c70d58481c7..40e089a7e069c06e0bbdc22bd4d5c06bed994631 100644 --- a/src/sbbs3/userlist/SBBS_User_ListMain.cpp +++ b/src/sbbs3/userlist/SBBS_User_ListMain.cpp @@ -13,7 +13,10 @@ #include <wx/dataobj.h> //(*InternalHeaders(SBBS_User_ListFrame) +#include <wx/bitmap.h> +#include <wx/icon.h> #include <wx/intl.h> +#include <wx/image.h> #include <wx/string.h> //*) @@ -201,7 +204,12 @@ SBBS_User_ListFrame::SBBS_User_ListFrame(wxWindow* parent,wxWindowID id) wxBoxSizer* BoxSizer1; wxBoxSizer* BoxSizer3; - Create(parent, id, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("id")); + Create(parent, id, _("SBBS User Editor"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("id")); + { + wxIcon FrameIcon; + FrameIcon.CopyFromBitmap(wxBitmap(wxImage(_T("../../conio/syncicon64.ico")))); + SetIcon(FrameIcon); + } Panel1 = new wxPanel(this, ID_PANEL1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _T("ID_PANEL1")); BoxSizer1 = new wxBoxSizer(wxVERTICAL); BoxSizer2 = new wxBoxSizer(wxHORIZONTAL); diff --git a/src/sbbs3/userlist/wxsmith/SBBS_User_Listframe.wxs b/src/sbbs3/userlist/wxsmith/SBBS_User_Listframe.wxs index 58eb3cf6bb0a26b9f25b5976ce6de50c2ef53acd..5e00f159ce7aee5bedcddd204410bd9e5b26192d 100644 --- a/src/sbbs3/userlist/wxsmith/SBBS_User_Listframe.wxs +++ b/src/sbbs3/userlist/wxsmith/SBBS_User_Listframe.wxs @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8" ?> <wxsmith> <object class="wxFrame" name="SBBS_User_ListFrame"> + <title>SBBS User Editor</title> + <icon>../../conio/syncicon64.ico</icon> <object class="wxPanel" name="ID_PANEL1" variable="Panel1" member="yes"> <object class="wxBoxSizer" variable="BoxSizer1" member="no"> <orient>wxVERTICAL</orient>