예제 #1
0
파일: edapp.cpp 프로젝트: mfloryan/poedit
void PoeditApp::OpenFiles(const wxArrayString& names)
{
    wxWindow *win = nullptr;
    for ( auto name: names )
        win = PoeditFrame::Create(name);

    AskForDonations(win);
}
예제 #2
0
void PoeditApp::OpenNewFile()
{
    wxWindow *win;
    if (wxConfig::Get()->Read("manager_startup", (long)false))
    {
        win = ManagerFrame::Create();
        win->Show(true);
    }
    else
    {
        win = PoeditFrame::Create();
    }

    AskForDonations(win);
}
예제 #3
0
파일: edapp.cpp 프로젝트: mfloryan/poedit
void PoeditApp::OpenNewFile()
{
    wxWindow *win = PoeditFrame::CreateWelcome();
    AskForDonations(win);
}
예제 #4
0
void PoeditApp::OpenFile(const wxString& name)
{
    wxWindow *win = PoeditFrame::Create(name);
    AskForDonations(win);
}