SourceForge logo
SourceForge logo
Menu

wxlua-users

From: arpin <ar...@ki...> - 2008年12月31日 18:03:27
please change
wxPrintf(msg + wxT("\n"));
to
wxPrintf(wxT("%s"), msg + wxT("\n"));
because: print("%S") crashes
Happy New Year
Andre
From: John L. <jla...@gm...> - 2009年01月06日 21:18:28
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
From: Attila <ejj...@gm...> - 2009年01月07日 18:32:02
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
From: arpin <ar...@ki...> - 2009年01月08日 13:54:25
> 
> 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
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /