Displaying 4 results from an estimated 4 matches for "wxlogwarn".
Did you mean:
logwarn
2005 Aug 02
1
Latest tarball
The latest tarball won''t compile on Windows:
src/Functions.cpp(582) : error C2664: ''wxLogWarning'' : cannot convert
parameter 1 from ''const class wxWCharBuffer'' to ''const char *''
No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called
src/Functions.cpp(592) : error C2665: ''...
2005 Aug 03
24
patch for Icon
...=-1);
that signature is only used on GTK on other systems it is:
wxIcon(const wxString& name,
long type = wxBITMAP_TYPE_ICO_RESOURCE,
int desiredWidth = -1, int desiredHeight = -1);
So I wrapped this in a #ifdef __WXGTK__ #else #endif
I also had to change:
wxLogWarning(wxConvUTF8.cMB2WC(StringValuePtr(str)));
I don''t know about other systems but on Windows wxLogWarning and
wxLogStatus only take const char *formatString and that is what the
docs show also.
Kevin the refactored install works great also.
I will be out of town for 5 days starting tomor...
2007 Jan 23
0
[853] trunk/wxruby2/swig: Replace deprecated STR2CSTR with StringValuePtr
..."lines">@@ -49,7 +49,7 @@
</span><span class="cx"> log_warning(int argc, VALUE *argv, VALUE self)
</span><span class="cx"> {
</span><span class="cx"> VALUE str = rb_f_sprintf(argc, argv);
</span><del>- wxLogWarning(wxString(STR2CSTR(str), wxConvUTF8));
</del><ins>+ wxLogWarning(wxString(StringValuePtr(str), wxConvUTF8));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><span class=&...
2005 Aug 04
9
wxruby2 retooling
I finally gave up on swig 1.3.22, since it seems to be causing too many
problems. Ubuntu breezy will have 1.3.24, so I''m retargeting wxruby2 to
swig 1.3.24+. At the moment, I have 1.3.25 on my system, since that''s
the current release.
I''m finding all kinds of problems with the post-processors we have that
clean up the .cpp files that swig creates. The