Beispiel #1
0
void PoeditApp::OpenFiles(const wxArrayString& names)
{
    wxWindow *win = nullptr;
    for ( auto name: names )
        win = PoeditFrame::Create(name);

    AskForDonations(win);
}
Beispiel #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);
}
Beispiel #3
0
void PoeditApp::OpenNewFile()
{
    wxWindow *win = PoeditFrame::CreateWelcome();
    AskForDonations(win);
}
Beispiel #4
0
void PoeditApp::OpenFile(const wxString& name)
{
    wxWindow *win = PoeditFrame::Create(name);
    AskForDonations(win);
}