please change
wxPrintf(msg + wxT("\n"));
to
wxPrintf(wxT("%s"), msg + wxT("\n"));
because: print("%S") crashes
Happy New Year
Andre
On Wed, Dec 31, 2008 at 1:02 PM, arpin <ar...@ki...> wrote:
> please change
>
> wxPrintf(msg + wxT("\n"));
>
> to
>
> wxPrintf(wxT("%s"), msg + wxT("\n"));
>
> because: print("%S") crashes
Strange, it shouldn't, but thanks. I changed them to
wxPrintf(wxT("%s\n"), msg.c_str());
so they'd work with unicode too.
Regards,
John
Hello! I have a little problem.. My application loads the GUI from the xrc file generated by DialogBlocks. I am using wxGrid-s, which are work very well - except I can't re-size them. Once I called grid:CreateGrid(rows,cols), I can't use this call again (I can, but no result). I tried grid:ClearGrid(), grid:Refresh(), but no result.. Other problem is I want to skip to a cell from a wx.wxEVT_GRID_CELL_CHANGED event, but grid:SetGridCursor() always cause a stack overflow. Any idea how can I skip to an another cell from this event? Thanks in advance: Attila
>
> Strange, it shouldn't, but thanks. I changed them to
>
> wxPrintf(wxT("%s\n"), msg.c_str());
>
> so they'd work with unicode too.
>
Better. I think the problem should expected since the first argument is the
format.
"%S" expect a second argument for the string. Itis rather amazing that it took
that long be we hit it.
Andre