/[Sims3RigEditor]/trunk/gr2lib_cpp/gr2lib_rigeditor_frm.h
ViewVC logotype

Diff of /trunk/gr2lib_cpp/gr2lib_rigeditor_frm.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_cpp/gr2lib_rigeditor_frm.h	2010/08/11 10:59:40	54
+++ trunk/gr2lib_cpp/gr2lib_rigeditor_frm.h	2010/08/12 08:37:47	55
@@ -1,3 +1,7 @@
+#define _CRT_SECURE_NO_WARNINGS
+#pragma warning( disable : 4100 ) // disable 'unreferenced formal parameter' warnings
+#pragma warning( disable : 4101 ) // disable 'unreferenced local variable' warnings
+
 #define SHOW_DEBUG_MENU // if defined, will show the debug menu -> else it will not be shown
 
 #define granny_pixel_layout_bitshift_size 4
@@ -613,8 +617,6 @@
 		 }
 private: System::Void mnuItemOpen_Click(System::Object^  sender, System::EventArgs^  e) 
 		 {
-
-
 			 System::Windows::Forms::DialogResult result = RigLoader->ShowDialog();
 			 if (result != System::Windows::Forms::DialogResult::OK) return;
 			 const char* fn = (char*)Marshal::StringToHGlobalAnsi(RigLoader->FileName).ToPointer();
@@ -745,7 +747,7 @@
 		 }
 private: System::Void mnuItemClose_Click(System::Object^  sender, System::EventArgs^  e) 
 		 {
-			 propgrid->SelectedObject = NULL;
+			 propgrid->SelectedObject = nullptr;
 		 }
 };
 //		}

 

  ViewVC Help
Powered by ViewVC 1.1.22