You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(60) |
Jul
(35) |
Aug
(32) |
Sep
(5) |
Oct
(5) |
Nov
(58) |
Dec
(34) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(114) |
Feb
(184) |
Mar
(153) |
Apr
(90) |
May
(153) |
Jun
(59) |
Jul
(24) |
Aug
(43) |
Sep
(17) |
Oct
(34) |
Nov
(11) |
Dec
(204) |
| 2007 |
Jan
(84) |
Feb
(119) |
Mar
(38) |
Apr
(28) |
May
(52) |
Jun
(105) |
Jul
(64) |
Aug
(67) |
Sep
(14) |
Oct
(3) |
Nov
(28) |
Dec
(55) |
| 2008 |
Jan
(228) |
Feb
(55) |
Mar
(30) |
Apr
(30) |
May
(15) |
Jun
(20) |
Jul
(12) |
Aug
(3) |
Sep
(13) |
Oct
(54) |
Nov
(35) |
Dec
(35) |
| 2009 |
Jan
(19) |
Feb
(20) |
Mar
(34) |
Apr
(4) |
May
(60) |
Jun
(25) |
Jul
(16) |
Aug
(51) |
Sep
(19) |
Oct
(62) |
Nov
(21) |
Dec
(12) |
| 2010 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(23) |
Jun
(13) |
Jul
(1) |
Aug
(40) |
Sep
(18) |
Oct
(21) |
Nov
(26) |
Dec
(34) |
| 2011 |
Jan
(17) |
Feb
(23) |
Mar
(1) |
Apr
(10) |
May
(1) |
Jun
(5) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(43) |
| 2012 |
Jan
(5) |
Feb
(19) |
Mar
(6) |
Apr
(24) |
May
(39) |
Jun
(83) |
Jul
(29) |
Aug
(36) |
Sep
(64) |
Oct
(55) |
Nov
(12) |
Dec
(7) |
| 2013 |
Jan
(17) |
Feb
(10) |
Mar
(37) |
Apr
(27) |
May
(13) |
Jun
(9) |
Jul
(7) |
Aug
(61) |
Sep
(23) |
Oct
(23) |
Nov
(30) |
Dec
(16) |
| 2014 |
Jan
(23) |
Feb
(13) |
Mar
(9) |
Apr
(17) |
May
(2) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(9) |
Oct
(24) |
Nov
(2) |
Dec
(14) |
| 2015 |
Jan
(6) |
Feb
(4) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(3) |
Jul
|
Aug
|
Sep
(2) |
Oct
(21) |
Nov
(6) |
Dec
(2) |
| 2016 |
Jan
(4) |
Feb
(2) |
Mar
(7) |
Apr
(3) |
May
(11) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
|
4
|
5
|
6
(1) |
7
(1) |
8
(1) |
9
|
10
|
|
11
(1) |
12
(1) |
13
|
14
(5) |
15
|
16
|
17
|
|
18
|
19
(1) |
20
|
21
(1) |
22
(2) |
23
|
24
|
|
25
|
26
(1) |
27
(1) |
28
|
29
|
30
(3) |
31
|
Thanks for the reply, here is a code which demonstrate the error:
require "wx"
myApp = wx.wxFrame(wx.NULL,-1,"Testing
HtmlEasyPrinting",wx.wxDefaultPosition,wx.wxSize(200,100))
btn = wx.wxButton(myApp,-1,"Press me")
btn:Connect(wx.wxEVT_COMMAND_BUTTON_CLICKED,function(event)
sHTML = [[<html><body>Please close this preview. After you closed, and you
want to exit from the application, it will throw an error.</body></html>]]
hep = wx.wxHtmlEasyPrinting("My print's preview",myApp)
hep:SetHeader("@PAGENUM@/@PAGESCNT@. page")
prnSetup = hep:GetPageSetupData()
prnData = prnSetup:GetPrintData()
prnData:SetNoCopies(3)
tMinoseg =
{wx.wxPRINT_QUALITY_DRAFT,wx.wxPRINT_QUALITY_LOW,wx.wxPRINT_QUALITY_MEDIUM,wx.wxPRINT_QUALITY_HIGH}
prnData:SetQuality(2)
prnSetup:SetMarginTopLeft(wx.wxPoint(12,12))
prnSetup:SetPrintData(prnData)
hep:PreviewText(sHTML)
end)
myApp:Connect(wx.wxEVT_CLOSE_WINDOW,
function(event)
myApp:Destroy()
wx.wxExit(0)
event:Skip()
end)
myApp:Centre()
myApp:Show(true)
wx.wxGetApp():MainLoop()
Hope this helps (I made everything global, so this can't be the problem)
> > > I have got it working to avoid opening a second window, but when I close the pane, I didn't get it back reopened. > Also I have a local MyFrame and the panels are implemented in separate files, so I don't know exactly if I could > access MyFrame to change a variable in that class to indicate pane closed. > if MyFrame then set the pane to close else message I do not have the frame end this would be a quick check if you do not have MyFrame it should be nil. Andre
Hi,
I am a beginner in wxLua. Using the wxAUI sample application as a base
I am struggling with avoiding to
open a panel more than once.
Here is the code I am using for the panel:
function Panel:create(parent, frame, _d3)
self.this = wx.wxPanel(parent.this, wx.wxID_ANY,
wx.wxDefaultPosition, wx.wxDefaultSize, wx.wxTAB_TRAVERSAL, "Panel")
self.m_frame = frame
local this = self.this
self.d3 = _d3
local grid_sizer = wx.wxGridSizer(2,2,2,2);
grid_sizer:SetHGap(5);
-- More controls ...
return self
end
function MyFrame:OnPanel(event)
local pane = self.m_mgr:GetPane(wxT("Panel"))
if not pane:IsOk() then
myPanel_Panel = Panel:create(self, self, d3);
self.m_mgr:AddPane(myPanel_Panel.this, wxaui.wxAuiPaneInfo():
Name(wxT("Panel")):Caption(wxT("Panel")):
Bottom():
CloseButton(true):MaximizeButton(true));
self.m_mgr:Update();
else
pane:Show()
end
end
I have got it working to avoid opening a second window, but when I
close the pane, I didn't get it back reopened.
Also I have a local MyFrame and the panels are implemented in separate
files, so I don't know exactly if I could
access MyFrame to change a variable in that class to indicate pane
closed.
Any help ?
Thanks
Lothar
-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen
On Thu, Jan 22, 2009 at 11:54 AM, Éjjeli Őrjárat
<ejj...@gm...> wrote:
> My problem has been partially solved - wxHtmlEasyPrint works perfect. I have
> to print checks and bills, html format is the best solution, easy to
> generate it form grid cells. But after the preview, when I exit from the
> application, it shown MS's error reporter window, so my app detected a
> problem, please inform MS about it... It happened after I added these few
> lines:
>
> local hep = wx.wxHtmlEasyPrinting("Nyomtatás",MyApp)
>
> local prnSetup = hep:GetPageSetupData()
> local prnData = prnSetup:GetPrintData()
> prnData:SetNoCopies(iOldalak) -- I want to set here how many pages to print.
> local tMinoseg =
> {wx.wxPRINT_QUALITY_DRAFT,wx.wxPRINT_QUALITY_LOW,wx.wxPRINT_QUALITY_MEDIUM,wx.wxPRINT_QUALITY_HIGH}
> prnData:SetQuality(tMinoseg[tSettings["minoseg"]])
> prnSetup:SetPrintData(prnData)
>
> hep:PreviewText(sHTML)
>
> After I close the preview window, seems everything is ok, but the error
> comes after I shotdown the whole application...
Can you post the simplest, runnable, code possible that demonstrates
this to help me debug it? The one thing to be careful about is making
sure that you don't use the local keyword for something that you need
to exist beyond the function it was created in.
> By the way, is there any way to translate the preview dialog? The buttons
> aren't translated. Same with DatePickerCtrl, even if I used
> os.setlocale("","time")
I do not know much about internationalization, but this may help.
http://docs.wxwidgets.org/stable/wx_internationalization.html#internationalization
Regards,
John
Sorry for writing again, I don't want to hurry anybody, but my application is almost ready, and I was unable to fix this error. Any ideas?
On Wed, Jan 21, 2009 at 5:37 AM, John Labenski <jla...@gm...> wrote: > You're right, there is no way to put wxPoints into a wxList. This is a > oversight, I'll add it for the next version in the next few weeks. > Ok, thanks! Mateusz Czapliński
My problem has been partially solved - wxHtmlEasyPrint works perfect. I have
to print checks and bills, html format is the best solution, easy to
generate it form grid cells. But after the preview, when I exit from the
application, it shown MS's error reporter window, so my app detected a
problem, please inform MS about it... It happened after I added these few
lines:
local hep = wx.wxHtmlEasyPrinting("Nyomtatás",MyApp)
local prnSetup = hep:GetPageSetupData()
local prnData = prnSetup:GetPrintData()
prnData:SetNoCopies(iOldalak) -- I want to set here how many pages to print.
local tMinoseg =
{wx.wxPRINT_QUALITY_DRAFT,wx.wxPRINT_QUALITY_LOW,wx.wxPRINT_QUALITY_MEDIUM,wx.wxPRINT_QUALITY_HIGH}
prnData:SetQuality(tMinoseg[tSettings["minoseg"]])
prnSetup:SetPrintData(prnData)
hep:PreviewText(sHTML)
After I close the preview window, seems everything is ok, but the error
comes after I shotdown the whole application...
By the way, is there any way to translate the preview dialog? The buttons
aren't translated. Same with DatePickerCtrl, even if I used
os.setlocale("","time")
Thanks in advance:
Attila
2009年1月19日 Mateusz Czaplinski <cza...@gm...>: > Hello! > I'd like to draw a polygon. I found the wxDC:DrawPolygonsList() method, but > I can't get it to work. It requires a wxList as a first argument - which, as > far as I understand, should be a list of wxPoints. However, wxLua's > implementation of wxList seems to allow only wxObjects as it's elements, > while wxPoint is not a descendant of wxObject. Does it mean I can't draw > polygons at all? Or am I missing something? You're right, there is no way to put wxPoints into a wxList. This is a oversight, I'll add it for the next version in the next few weeks. -John
Hello! I'd like to draw a polygon. I found the wxDC:DrawPolygonsList() method, but I can't get it to work. It requires a wxList as a first argument - which, as far as I understand, should be a list of wxPoints. However, wxLua's implementation of wxList seems to allow only wxObjects as it's elements, while wxPoint is not a descendant of wxObject. Does it mean I can't draw polygons at all? Or am I missing something? Thanks in advance - Mateusz Czapliński
Thanks, John - I'll take a look at the wxRichTextCtrl Ken ----- Original Message ----- From: "John Labenski" <jla...@gm...> To: <wxl...@li...> Sent: Wednesday, January 14, 2009 1:47 PM Subject: Re: [wxlua-users] GetHandle > On Wed, Jan 14, 2009 at 12:51 PM, Ken Minogue <mi...@mt...> wrote: >> Thanks for the quick response. I wanted to be able to use a Rich Edit >> control within wxLua, creating a wxTextCtrl with the wxTE_RICH2 style. >> My >> understanding at the time (this was 2005) was that the the Rich Edit >> control >> was not fully implemented in wxLua, so I wrote a simple dll to allow me >> to >> forward messages from the Lua script to the control. I need to know the >> Windows handle of the control in order send messages to it. > > Ok, I added it back in CVS. I hope to do a binary release soon, I just > need to find the time. > >> If there's an easier way to do this, I'd be glad to know about it. > > You may want to try out the wxRichTextCtrl, but I can't say much about > as I haven't use it yet. > > http://docs.wxwidgets.org/stable/wx_wxrichtextctrl.html#wxrichtextctrl > > Regards, > John >
On Wed, Jan 14, 2009 at 12:51 PM, Ken Minogue <mi...@mt...> wrote: > Thanks for the quick response. I wanted to be able to use a Rich Edit > control within wxLua, creating a wxTextCtrl with the wxTE_RICH2 style. My > understanding at the time (this was 2005) was that the the Rich Edit control > was not fully implemented in wxLua, so I wrote a simple dll to allow me to > forward messages from the Lua script to the control. I need to know the > Windows handle of the control in order send messages to it. Ok, I added it back in CVS. I hope to do a binary release soon, I just need to find the time. > If there's an easier way to do this, I'd be glad to know about it. You may want to try out the wxRichTextCtrl, but I can't say much about as I haven't use it yet. http://docs.wxwidgets.org/stable/wx_wxrichtextctrl.html#wxrichtextctrl Regards, John > > ----- Original Message ----- > From: "John Labenski" <jla...@gm...> > To: <wxl...@li...> > Sent: Wednesday, January 14, 2009 10:52 AM > Subject: Re: [wxlua-users] GetHandle > > >> On Wed, Jan 14, 2009 at 11:24 AM, Ken Minogue <mi...@mt...> wrote: >>> I've recently come back to wxLua after a few years and have discovered >>> that >>> my old scripts don't work anymore. I've managed to deal with most of the >>> necessary changes, but it looks like the GetHandle() method (wxWindow) is >>> no >>> longer available and I don't know what to use instead. How can I get the >>> Windows handle of a wxLua control? >> >> I removed it since I didn't imagine that anyone could or would do >> anything with it. What do you use it for? I can add it back, but maybe >> there's something simpler. >> >> Regards, >> John >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users >
Thanks for the quick response. I wanted to be able to use a Rich Edit control within wxLua, creating a wxTextCtrl with the wxTE_RICH2 style. My understanding at the time (this was 2005) was that the the Rich Edit control was not fully implemented in wxLua, so I wrote a simple dll to allow me to forward messages from the Lua script to the control. I need to know the Windows handle of the control in order send messages to it. If there's an easier way to do this, I'd be glad to know about it. Thanks, Ken ----- Original Message ----- From: "John Labenski" <jla...@gm...> To: <wxl...@li...> Sent: Wednesday, January 14, 2009 10:52 AM Subject: Re: [wxlua-users] GetHandle > On Wed, Jan 14, 2009 at 11:24 AM, Ken Minogue <mi...@mt...> wrote: >> I've recently come back to wxLua after a few years and have discovered >> that >> my old scripts don't work anymore. I've managed to deal with most of the >> necessary changes, but it looks like the GetHandle() method (wxWindow) is >> no >> longer available and I don't know what to use instead. How can I get the >> Windows handle of a wxLua control? > > I removed it since I didn't imagine that anyone could or would do > anything with it. What do you use it for? I can add it back, but maybe > there's something simpler. > > Regards, > John > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users
On Wed, Jan 14, 2009 at 11:24 AM, Ken Minogue <mi...@mt...> wrote: > I've recently come back to wxLua after a few years and have discovered that > my old scripts don't work anymore. I've managed to deal with most of the > necessary changes, but it looks like the GetHandle() method (wxWindow) is no > longer available and I don't know what to use instead. How can I get the > Windows handle of a wxLua control? I removed it since I didn't imagine that anyone could or would do anything with it. What do you use it for? I can add it back, but maybe there's something simpler. Regards, John
I've recently come back to wxLua after a few years and have discovered that my old scripts don't work anymore. I've managed to deal with most of the necessary changes, but it looks like the GetHandle() method (wxWindow) is no longer available and I don't know what to use instead. How can I get the Windows handle of a wxLua control? Thanks, Ken
On Sun, Jan 11, 2009 at 5:58 AM, Éjjeli Őrjárat <ejj...@gm...> wrote: > Hi! > My previous e-mail went to a wrong topic, sorry. again: > 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.. You need to send a wxGridTableMessage to the wxGrid to notify it that changes have been made. Search for wxGridStringTable::InsertRows(...) and see the code where it creates a new wxGridTableMessage to send to the wxGrid. You need to duplicate this. http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/src/generic/grid.cpp?view=markup See also "class WXDLLIMPEXP_ADV wxGridTableMessage" here. There isn't much documentation for this, but you can figure it out from the wxGridStringTable::Insert/Append/Delete/Rows/Cols() functions above. http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/include/wx/generic/grid.h?view=markup In the past I have written a function called UpdateGrid() (don't know where it is anymore) that gets the current number of rows/cols from the wxGrid and the number of rows/cols from my wxGridTable and sends the wxGridTableMessages as appropriate. Once you have this function you can adjust your wxGridTable as you like and then call the UpdateGrid() function to sync the wxGrid to the table. I recommend this method as opposed to duplicating the separate Insert/AppendDelete/Rows/Cols functions. > I have a report now too: seems wxGrid doesn't check the row and the column > in SetCellValue(), because when I used that with negative rows, it throw me > an unhandled exception window (well, now I have more unhandled exception > related to wxGrid, but I haven't found out, what caused that till now...). > The first problem has been 'patched' now: I know how many columns I want to > add, so I check it: > if grid:GetNumberRows() < iRows then > grid:AppendRows(grid:GetNumberRows()-1,iRows-grid:GetNumberRows()) end > But I think there must be a more elegant solution :) Unfortunately not, there are checks in the wxWidgets C++ code that will assert rather than cause an exception in the debug compiled version of wxWidgets. Perhaps I should release a binary build of wxLua compiled with the debug settings? I would rather not have to add checks for proper values to the inputs of the wxWidgets functions since there will be need to be thousands of them and that would really bloat wxLua. > --- > > Another problem that I have to print with my application. But the firm I > write this app, use an old matrix printer, which prints to 'pull-out' (or > fanfold? web-tranlslation, I hope it's correct. Here is a page about it: > http://shop.unas.hu/shop_ordered/5207/shop_pic/termek_820145.jpg) paper. The > samples I found can print pictures, and everything else, but I need just > charaters, because the old program used just simple characters to draw a > table. (But that used a .prn file too... :-/). So, I want to print just > characters, and make some text's font bold and maybe bigger on it, that's > all. Printing in wxWidgets is done by using a wxPrinterDC that is created by the printing framework itself. I assume you've looked at the printing.wx.lua sample. You need to replace the function DisplayFigure() with your own drawing code. You will need to use wxC::DrawText(), wxDC::GetTextExtent() and friends along with all the PPI and page size info used in the function printOut:OnPrintPage() in printing.wx.lua. You may also want to look into wxHTMLEasyPrinting, which will be able do the layout for you, but I have never used it very seriously. Regards, John
Hi! My previous e-mail went to a wrong topic, sorry. again: 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.. The second SetGridCursor problem has been solved, I used that from an another event, wx.wxEVT_KEY_UP. I have a report now too: seems wxGrid doesn't check the row and the column in SetCellValue(), because when I used that with negative rows, it throw me an unhandled exception window (well, now I have more unhandled exception related to wxGrid, but I haven't found out, what caused that till now...). The first problem has been 'patched' now: I know how many columns I want to add, so I check it: if grid:GetNumberRows() < iRows then grid:AppendRows(grid:GetNumberRows()-1,iRows-grid:GetNumberRows()) end But I think there must be a more elegant solution :) --- Another problem that I have to print with my application. But the firm I write this app, use an old matrix printer, which prints to 'pull-out' (or fanfold? web-tranlslation, I hope it's correct. Here is a page about it: http://shop.unas.hu/shop_ordered/5207/shop_pic/termek_820145.jpg) paper. The samples I found can print pictures, and everything else, but I need just charaters, because the old program used just simple characters to draw a table. (But that used a .prn file too... :-/). So, I want to print just characters, and make some text's font bold and maybe bigger on it, that's all. I hope somebody can help me in this. Best regards: 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
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
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