Mercurial > mercurial > hgweb_rsearcher.cgi
comparison src/main.cpp @ 4:06342fc544e4
mouse gesture.
| author | pyon@macmini |
|---|---|
| date | Mon, 15 Oct 2018 20:07:38 +0900 |
| parents | db4813125eb8 |
| children | e3b10fb860b3 |
comparison
equal
deleted
inserted
replaced
| 3:db4813125eb8 | 4:06342fc544e4 |
|---|---|
| 1 // Filename : main.cpp | 1 // Filename : main.cpp |
| 2 // Last Change: 2018-10-11 木 16:52:40. | 2 // Last Change: 2018-10-12 金 16:17:39. |
| 3 // | 3 // |
| 4 #include "id.h" | |
| 4 #include "main.h" | 5 #include "main.h" |
| 5 #include "auth.h" | 6 #include "auth.h" |
| 6 #include "rsearcher.h" | 7 #include "rsearcher.h" |
| 7 | 8 |
| 8 IMPLEMENT_APP( MyApp ) | 9 IMPLEMENT_APP( MyApp ) |
| 24 wxImage::AddHandler( new wxJPEGHandler ); | 25 wxImage::AddHandler( new wxJPEGHandler ); |
| 25 wxImage::AddHandler( new wxPNGHandler ); | 26 wxImage::AddHandler( new wxPNGHandler ); |
| 26 InitSetting(); | 27 InitSetting(); |
| 27 | 28 |
| 28 wxBitmap bmp; | 29 wxBitmap bmp; |
| 29 if ( bmp.LoadFile( "./image/startup.png", wxBITMAP_TYPE_PNG ) ){ | 30 if ( bmp.LoadFile( wxT( "./image/startup.png" ), wxBITMAP_TYPE_PNG ) ){ |
| 30 wxSplashScreen* splash = new wxSplashScreen( bmp, wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, 4000, NULL, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE|wxSTAY_ON_TOP ); | 31 wxSplashScreen* splash = new wxSplashScreen( bmp, wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT, 4000, NULL, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE|wxSTAY_ON_TOP ); |
| 31 } | 32 } |
| 32 | 33 |
| 33 AuthDialog *authdlg = new AuthDialog( NULL, wxID_ANY, wxT( "Check User" ), wxDefaultPosition, wxDefaultSize, wxCAPTION ); | 34 AuthDialog *authdlg = new AuthDialog( NULL, wxID_ANY, wxT( "Check User" ), wxDefaultPosition, wxDefaultSize, wxCAPTION ); |
| 34 authdlg->SetServer( m_server ); | 35 authdlg->SetServer( m_server ); |
