Displaying 5 results from an estimated 5 matches for "wxcheck_version".
Did you mean:
_check_version
2007 May 04
0
[1004] trunk/wxruby2/swig/common.i: Updated wxWidgets version check
...-04 18:03:08 UTC (rev 1004)
</span><span class="lines">@@ -28,8 +28,8 @@
</span><span class="cx"> #include <wx/dcbuffer.h>
</span><span class="cx">
</span><span class="cx">
</span><del>-#if ! wxCHECK_VERSION(2,6,3)
-#error "wxRuby requires WxWidgets version 2.6.3"
</del><ins>+#if ! wxCHECK_VERSION(2,8,3)
+#error "This version of wxRuby requires WxWidgets 2.8.3 or greater"
</ins><span class="cx"> #endif
</span><span class="cx">...
2007 May 05
0
[1014] trunk/wxruby2/swig/common.i: Undo broken commit
...re("director");
</span><span class="cx"> %feature("compactdefaultargs");
</span><span class="cx">
</span><del>-// Check for a correct version of WxWidgets before proceeding any further
-%include <wx/version.h>
-#if ! wxCHECK_VERSION(2,8,3)
-#error "This version of wxRuby requires WxWidgets 2.8.3 or greater"
-#endif
-
</del><span class="cx"> %runtime %{
</span><span class="cx"> // # SWIG 1.3.29 added this new feature which we can''t use (yet)
</span><span cl...
2007 May 05
0
[1013] trunk/wxruby2/swig/common.i: Run version test at SWIG phase rather than compile phase
...re("director");
</span><span class="cx"> %feature("compactdefaultargs");
</span><span class="cx">
</span><ins>+// Check for a correct version of WxWidgets before proceeding any further
+%include <wx/version.h>
+#if ! wxCHECK_VERSION(2,8,3)
+#error "This version of wxRuby requires WxWidgets 2.8.3 or greater"
+#endif
+
</ins><span class="cx"> %runtime %{
</span><span class="cx"> // # SWIG 1.3.29 added this new feature which we can''t use (yet)
</span><span cl...
2007 Feb 10
0
[857] trunk/wxruby2/swig/common.i: Add test for suitable version of wxWidgets library
...</span><span class="lines">@@ -27,6 +27,11 @@
</span><span class="cx"> #include <wx/wx.h>
</span><span class="cx"> #include <wx/dcbuffer.h>
</span><span class="cx">
</span><ins>+
+#if ! wxCHECK_VERSION(2,6,3)
+#error "wxRuby requires WxWidgets version 2.6.3"
+#endif
+
</ins><span class="cx"> extern void GcMarkDeleted(void *);
</span><span class="cx"> extern bool GcIsDeleted(void *);
</span><span class="cx"> extern void Gc...
2007 Jan 03
0
[824] trunk/wxruby2/swig/classes/App.i: Remove some ifdefs for old unstable versions of WxWidgets
...f
</span><span class="lines">@@ -105,9 +95,6 @@
</span><span class="cx"> printf("survived gc\n");
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>-#if !wxCHECK_VERSION(2,5,0)
- wxTheApp = 0;
-#endif
</del><span class="cx"> wxLog *oldlog = wxLog::SetActiveTarget(new wxLogStderr);
</span><span class="cx"> SetTopWindow(0);
</span><span class="cx"> if ( oldlog )
</span...