Displaying 4 results from an estimated 4 matches for "wxlogstatus".
2005 Aug 02
1
Latest tarball
...ng'' : 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: ''wxLogStatus'' : none of the 2
overloads can convert parameter 1 from type ''class wxFrame *''
src/Functions.cpp(596) : error C2665: ''wxLogStatus'' : none of the 2
overloads can convert parameter 1 from type ''const class wxWCharBuffer''
src/Functions.c...
2007 Jan 23
0
[853] trunk/wxruby2/swig: Replace deprecated STR2CSTR with StringValuePtr
...</span><span class="cx"> wxFrame *ptr;
</span><span class="cx"> Data_Get_Struct(argv[0], wxFrame, ptr);
</span><span class="cx"> VALUE str = rb_f_sprintf(argc-1, &argv[1]);
</span><del>- wxLogStatus(ptr,wxString(STR2CSTR(str), wxConvUTF8));
</del><ins>+ wxLogStatus(ptr,wxString(StringValuePtr(str), wxConvUTF8));
</ins><span class="cx"> }
</span><span class="cx"> else {
</span><span class="cx">...
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
2005 Aug 03
24
patch for Icon
...= 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 tomorrow so if you need any
clarification email me back quick.
Sean
_______________________________________________
wxruby-users mai...