Mercurial > mercurial > hgweb_searcher03.cgi
comparison src/main.cpp @ 22:92188f60323d default tip
Implement Masking function on Preview Dialog.
| author | pyon@macmini | 
|---|---|
| date | Sat, 04 Apr 2015 17:23:46 +0900 | 
| parents | 3bb803d8c1d7 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 21:a2ad87cad48b | 22:92188f60323d | 
|---|---|
| 1 // Filename : main.cpp | 1 // Filename : main.cpp | 
| 2 // Last Change: 04-Dec-2014. | 2 // Last Change: 25-Dec-2014. | 
| 3 // | 3 // | 
| 4 #include "main.h" | 4 #include "main.h" | 
| 5 #include "myframe.h" | 5 #include "myframe.h" | 
| 6 #include "miniframe.h" | 6 #include "miniframe.h" | 
| 7 #include "wx/cmdline.h" | 7 #include "wx/cmdline.h" | 
| 33 } | 33 } | 
| 34 else { | 34 else { | 
| 35 MyFrame *mainframe = new MyFrame( NULL, ID_MAIN, wxT("Searcher 03"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE ); | 35 MyFrame *mainframe = new MyFrame( NULL, ID_MAIN, wxT("Searcher 03"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE ); | 
| 36 mainframe->SetSize( rect ); | 36 mainframe->SetSize( rect ); | 
| 37 mainframe->Show( true ); | 37 mainframe->Show( true ); | 
| 38 if ( mode == 0 ) | |
| 39 mainframe->DisableMover(); | |
| 38 } | 40 } | 
| 39 | 41 | 
| 40 return true; | 42 return true; | 
| 41 } | 43 } | 
| 42 | 44 | 
