SourceForge logo
SourceForge logo
Menu

wxlua-users — wxLua list for users and developers

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
(4)
2
3
4
5
6
7
8
(3)
9
(2)
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(2)


Showing 11 results of 11

From: John L. <jla...@gm...> - 2006年11月30日 05:47:14
On 11/30/06, Pierric <sta...@gm...> wrote:
> I recently find a small bug in wxbind/src/gdi.cpp,line 4193. Here is the
> original code:
> static int LUACALL wxBitmapFromFile_constructor(lua_State
> *L)
> {
> ....
> // call constructor
> returns = new wxBitmap(name, type);
> ...
> return 1;
> }
>
> I changed to the following one :
> returns = new wxBitmap(name, (wxBitmapType)type);
>
> The reason is that the wxBitmap have two different ctor wxBitmap(const
> wxString&,wxBitmapType) and wxBitmap(const wxImage&,int depth,int depth) and
> the second one is not implicit and the image can be constructed from a
> string. So here comes the Bug. The "new wxBitmap(name, type); " exactly
> calls the second ctor instead the first one.
Great thanks, I fixed it in the bindings/wxwidgets/gdi.i file by
declaring the constructor as
 %constructor wxBitmapFromFile(const wxString& name, wxBitmapType
type = wxBITMAP_TYPE_ANY)
with the added benefit that the default tries to determine the file
type from the extension.
Regards,
 John Labenski
From: Pierric <sta...@gm...> - 2006年11月30日 05:08:10
I recently find a small bug in wxbind/src/gdi.cpp,line 4193. Here is the
original code:
static int LUACALL wxBitmapFromFile_constructor(lua_State *L)
{
 ....
 // call constructor
 returns = new wxBitmap(name, type);
 ...
 return 1;
}
I changed to the following one :
returns = new wxBitmap(name, (wxBitmapType)type);
The reason is that the wxBitmap have two different ctor wxBitmap(const
wxString&,wxBitmapType) and wxBitmap(const wxImage&,int depth,int depth) and
the second one is not implicit and the image can be constructed from a
string. So here comes the Bug. The "new wxBitmap(name, type); " exactly
calls the second ctor instead the first one.
From: John L. <jla...@gm...> - 2006年11月09日 21:41:38
On 11/9/06, klaas.holwerda <kho...@xs...> wrote:
> After installing wxstedit, i did copy
> /usr/local/lib/libwx_gtk2d_stedit-2.7.a
> to libstedit.a (the one there was old/release etc. )
>
> And that i think was all to make wxLua configure find it.
Ok good, something would have to be really wrong to get link errors
about wxAssert, but nothing else.
Regards,
 John Labenski
From: klaas.holwerda <kho...@xs...> - 2006年11月09日 21:36:40
After installing wxstedit, i did copy 
/usr/local/lib/libwx_gtk2d_stedit-2.7.a
to libstedit.a (the one there was old/release etc. )
And that i think was all to make wxLua configure find it.
klaas.holwerda wrote:
> configure:5978: checking if wxStEdit (version >= 1.2.0) is available
> configure:6011: g++ -o conftest -g3 -O0 -Wall -Wundef 
> -Wno-ctor-dtor-privacy 
> -I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.7 
> -I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> 
From: klaas.holwerda <kho...@xs...> - 2006年11月08日 23:20:05
Hi John,
This is the error i get in config.log.
wxAssert linking error is in general a debug version problem.
I don't remember how i solved it the last time. Or if you made the 
changes already, so i report it again.
Its a static build of wxWidgets 2.7.2, with both debug and release 
installed.
Release installed the latest.
Klaas
configure:5978: checking if wxStEdit (version >= 1.2.0) is available
configure:6011: g++ -o conftest -g3 -O0 -Wall -Wundef 
-Wno-ctor-dtor-privacy 
-I/usr/local/lib/wx/include/gtk2-ansi-debug-static-2.7 
-I/usr/local/include/wx-2.7 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-D__WXDEBUG__ -D__WXGTK__ conftest.cc -lstedit -L/usr/local/lib 
-pthread /usr/local/lib/libwx_gtk2d_stc-2.7.a 
/usr/local/lib/libwx_gtk2d_xrc-2.7.a 
/usr/local/lib/libwx_gtk2d_html-2.7.a 
/usr/local/lib/libwx_gtk2d_adv-2.7.a 
/usr/local/lib/libwx_based_net-2.7.a 
/usr/local/lib/libwx_based_xml-2.7.a 
/usr/local/lib/libwx_gtk2d_core-2.7.a /usr/local/lib/libwx_based-2.7.a 
-lexpat -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 
-lXinerama -lXxf86vm -lSM -lpng -ljpeg -ltiff -lz -ldl >&5
/usr/local/lib/libstedit.a(stedit_lib_stedit.o): In function 
`wxSTEditor::SetLanguage(int)':
././src/stedit.cpp:3735: undefined reference to `wxAssert(int, char 
const*, int, char const*, char const*)'
/usr/local/lib/libstedit.a(stedit_lib_stedit.o): In function 
`wxSTEditor::GetFindFlags() const':
././src/stedit.cpp:3036: undefined reference to `wxAssert(int, char 
const*, int, char const*, char const*)'
/usr/local/lib/libstedit.a(stedit_lib_stedit.o): In function 
`wxSTEditor::GetReplaceString() const':
././src/stedit.cpp:3030: undefined reference to `wxAssert(int, char 
const*, int, char const*, char const*)'
/usr/local/lib/libstedit.a(stedit_lib_stedit.o): In function 
`wxSTEditor::GetFindString() const':
././src/stedit.cpp:3024: undefined reference to `wxAssert(int, char 
const*, int, char const*, char const*)'
/usr/local/lib/libstedit.a(stedit_lib_stedit.o): In function 
`wxSTEditor::ShowFindReplaceDialog(bool, bool)':././src/stedit.cpp:3042: 
undefined reference to `wxAssert(int, char const*, int, char const*, 
char const*)'
/usr/local/lib/libstedit.a(stedit_lib_stedit.o):././src/stedit.cpp:1008: 
more undefined references to `wxAssert(int, char const*, int, char 
const*, char const*)' follow
/usr/local/lib/libstedit.a(stedit_lib_stedit.o): In function 
`wxSTEditor::HandleFindDialogEvent(wxFindDialogEvent&)':
From: John L. <jla...@gm...> - 2006年11月08日 22:00:20
No, I was just adding a few missing classes and I guess something has
changed with wxRegion since 2.6. Just rem out that line or even the
whole function if you're not going to use that function in wxLua and
I'll fix it tonight.
-John Labenski
On 11/8/06, klaas.holwerda <kho...@xs...> wrote:
> Hi,
>
> Should i switch to the 2.7.2 ?
>
> cl /c /nologo /TP /Fomsvcd\wxbind_lib_gdi.obj /MDd /DWIN32
> /I..\..\..\m
> odules\wxbind\setup /D__WXDEBUG__ /D__WXMSW__
> /Id:\soft\wxwin\wxWidgets-2.6.3
> \lib\vc_lib\mswd /Id:\soft\wxwin\wxWidgets-2.6.3\include /W4 /Od /Zi
> /D_DEBUG
> /Fd..\..\..\lib\vc_lib\wxlua_msw26d_wxbind.pdb /I..\..\..\modules
> /I.\..\..\.
> . /Id:\soft\wxwin\wxWidgets-2.6.3\contrib\include /GR /EHsc
> ..\..\wxbind\src\
> gdi.cpp
> gdi.cpp
> ..\..\wxbind\src\gdi.cpp(9318) : error C2664:
> 'wxDCClipper::wxDCClipper(wxDC &,c
> onst wxRect &)' : cannot convert parameter 2 from 'const wxRegion' to
> 'const wxR
> ect &'
> Reason: cannot convert from 'const wxRegion' to 'const wxRect'
> No constructor could take the source type, or constructor
> overload resol
> ution was ambiguous
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> .NET 2003\
> VC7\BIN\nmake.exe"' : return code '0x2'
> Stop.
>
>
> Klaas
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
From: klaas.holwerda <kho...@xs...> - 2006年11月08日 21:21:42
Hi,
Should i switch to the 2.7.2 ?
 cl /c /nologo /TP /Fomsvcd\wxbind_lib_gdi.obj /MDd /DWIN32 
/I..\..\..\m
odules\wxbind\setup /D__WXDEBUG__ /D__WXMSW__ 
/Id:\soft\wxwin\wxWidgets-2.6.3
\lib\vc_lib\mswd /Id:\soft\wxwin\wxWidgets-2.6.3\include /W4 /Od /Zi 
/D_DEBUG
 /Fd..\..\..\lib\vc_lib\wxlua_msw26d_wxbind.pdb /I..\..\..\modules 
/I.\..\..\.
. /Id:\soft\wxwin\wxWidgets-2.6.3\contrib\include /GR /EHsc 
..\..\wxbind\src\
gdi.cpp
gdi.cpp
..\..\wxbind\src\gdi.cpp(9318) : error C2664: 
'wxDCClipper::wxDCClipper(wxDC &,c
onst wxRect &)' : cannot convert parameter 2 from 'const wxRegion' to 
'const wxR
ect &'
 Reason: cannot convert from 'const wxRegion' to 'const wxRect'
 No constructor could take the source type, or constructor 
overload resol
ution was ambiguous
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
.NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
Klaas
From: SourceForge.net <no...@so...> - 2006年11月01日 14:39:12
Patches item #1588621, was opened at 2006年11月01日 16:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=745326&aid=1588621&group_id=140042
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stewart (stewartallen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Added wxDatePickerCtrl
Initial Comment:
Attached is a patch to add the wxDatePickerCtrl to wxLua
----------------------------------------------------------------------
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=745326&aid=1588621&group_id=140042
From: Stewart A. <sr...@mw...> - 2006年11月01日 14:33:39
Done
Regards,
Stewart Allen
sr...@mw...
all...@gm... 
Francesco Montorsi wrote:
> Stewart Allen ha scritto:
> 
>> Hi,
>>
>> I've bound the wxDatePickerCtrl to wxLua who can I send the patch file too?
>> 
> please create a new patch at
>
> http://sourceforge.net/tracker/?group_id=140042&atid=745326
>
>
> Thanks!
> Francesco
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>
> 
From: Francesco M. <f18...@ya...> - 2006年11月01日 14:11:07
Stewart Allen ha scritto:
> Hi,
> 
> I've bound the wxDatePickerCtrl to wxLua who can I send the patch file too?
please create a new patch at
 http://sourceforge.net/tracker/?group_id=140042&atid=745326
Thanks!
Francesco
From: Stewart A. <sr...@mw...> - 2006年11月01日 14:04:53
Hi,
I've bound the wxDatePickerCtrl to wxLua who can I send the patch file too?
-- 
Regards,
Stewart Allen
sr...@mw...
all...@gm... 

Showing 11 results of 11

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 によって変換されたページ (->オリジナル) /