diff 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
line wrap: on
line diff
--- a/src/main.cpp	Wed Dec 17 00:52:43 2014 +0900
+++ b/src/main.cpp	Sat Apr 04 17:23:46 2015 +0900
@@ -1,5 +1,5 @@
 // Filename   : main.cpp
-// Last Change: 04-Dec-2014.
+// Last Change: 25-Dec-2014.
 //
 #include "main.h"
 #include "myframe.h"
@@ -35,6 +35,8 @@
         MyFrame *mainframe = new MyFrame( NULL, ID_MAIN, wxT("Searcher 03"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE );
         mainframe->SetSize( rect );
         mainframe->Show( true );
+        if ( mode == 0 )
+            mainframe->DisableMover();
     }
 
     return true;