Hi,
    From the wxWidgets forum I found out that wxDatePickerCtrl-1 which is
displayed when I use Lua which uses the wx.dll is the generic control while
wxDatePickerCtrl-2 is the Native windows control. Also in windows wxWidgets
automatically uses the native control unless we explicitly use the
wxDatePickerCtrlGeneric
         So does anybody have any idea why the wx.dll uses the generic
control for wxDatePickerCtrl. This is just one difference as mentioned in
the email chain below there are other differences as well.

Thanks,
Milind


On Sat, May 18, 2013 at 4:19 PM, Milind Gupta <milind.gu...@gmail.com>wrote:

> Hi Paul,
>           Thanks for looking at this. Actually it is not just Lua 4
> windows. If you just download the wxlua binary for windows and copy
> editor.wx.lua to the bin directory which has all the executables and run it
> with lua and also run it with wxluafreeze.exe you will see the same
> differences. So either the wx.dll in the wxlua distribution is different
> somehow than wxluafreeze's statically linked library or wxluafreeze does
> something extra than just having the wx library.
>           I am really curious to find out about this since it raises a
> question in my mind is whether wxlua is truly a lua module or it is a
> separate lua distribution.
>
> Thanks,
> Milind
>
>
>
> On Sat, May 18, 2013 at 4:13 PM, Paul K <paulclin...@yahoo.com> wrote:
>
>> Hi Milind,
>>
>> > So any ideas why are these subtle differences?
>>
>> No; I'd not expect to see any differences. I just checked and I do see
>> them between using lua.exe and wlua.exe. For example, when running
>> from wlua.exe, the toolbar has a gradient that I don't see when
>> running lua.exe.
>>
>> We may need to find L4W sources to see what really happens in
>> wlua.exe. As far as I can tell, lua.exe is just a normal lua
>> interpreter that loads wx.dll.
>>
>> Paul.
>>
>> On Sat, May 18, 2013 at 2:47 PM, Milind Gupta <milind.gu...@gmail.com>
>> wrote:
>> > Hi Paul,
>> >            I have attached 2 screen shots of my application. 1 is from
>> > wlua/wxluafreeze and one is from lua. I have circled the gui
>> differences.
>> > The calendar control comes out different. Also the button toolbar shows
>> a
>> > gradient in the wlua version while it is flat in the lua version. The
>> Lua
>> > version GUI lacks the gradients in other places also. I am not sure what
>> > other widgets may be different but the calendar control is seen clearly.
>> >           So any ideas why are these subtle differences?
>> >
>> >
>> >
>> > Thanks,
>> > Milind
>> >
>> >
>> >
>> > On Sat, May 18, 2013 at 9:46 AM, Paul K <paulclin...@yahoo.com> wrote:
>> >>
>> >> Hi Milind,
>> >>
>> >> The only difference should be is that wxluafreeze includes wx library
>> >> statically compiled (so you don't need anything else) and in other
>> >> cases your executables expect wx.dll.
>> >>
>> >> I'm not sure what graphics are different. Can you do two screenshots
>> >> and mark the differences on them? I don't use wxluafreeze, but I
>> >> wouldn't expect to see any differences.
>> >>
>> >> Paul.
>> >>
>> >> On Sat, May 18, 2013 at 2:11 AM, Milind Gupta <milind.gu...@gmail.com>
>> >> wrote:
>> >> > Hi,
>> >> >        I have installed Lua for windows and when I run my program
>> with
>> >> > Lua.exe (my program has require("wx")) the graphics are a little
>> >> > different
>> >> > compared to if I run it with an executable wlua also in the package.
>> I
>> >> > see
>> >> > the same graphics as wlua if I run my program using wxluafreeze from
>> the
>> >> > downloaded wxlua binary package.
>> >> >        Is there a difference of launching the program through Lua or
>> >> > through
>> >> > wLua? I am not sure what is different in wLua because it is just a
>> 35KB
>> >> > executable and if I remove all wx.dll from the system then it is not
>> >> > able to
>> >> > execute the program while wxluafreeze still can execute the program
>> >> > without
>> >> > the wx.dll file.
>> >> >
>> >> > So what is the difference?
>> >> >
>> >> > Thanks,
>> >> > Milind
>> >> >
>> >> >
>> >> >
>> >> >
>> ------------------------------------------------------------------------------
>> >> > AlienVault Unified Security Management (USM) platform delivers
>> complete
>> >> > security visibility with the essential security capabilities. Easily
>> and
>> >> > efficiently configure, manage, and operate all of your security
>> controls
>> >> > from a single console and one unified framework. Download a free
>> trial.
>> >> > http://p.sf.net/sfu/alienvault_d2d
>> >> > _______________________________________________
>> >> > wxlua-users mailing list
>> >> > wxlua-users@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/wxlua-users
>> >> >
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> AlienVault Unified Security Management (USM) platform delivers complete
>> >> security visibility with the essential security capabilities. Easily
>> and
>> >> efficiently configure, manage, and operate all of your security
>> controls
>> >> from a single console and one unified framework. Download a free trial.
>> >> http://p.sf.net/sfu/alienvault_d2d
>> >> _______________________________________________
>> >> wxlua-users mailing list
>> >> wxlua-users@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > AlienVault Unified Security Management (USM) platform delivers complete
>> > security visibility with the essential security capabilities. Easily and
>> > efficiently configure, manage, and operate all of your security controls
>> > from a single console and one unified framework. Download a free trial.
>> > http://p.sf.net/sfu/alienvault_d2d
>> > _______________________________________________
>> > wxlua-users mailing list
>> > wxlua-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wxlua-users
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> AlienVault Unified Security Management (USM) platform delivers complete
>> security visibility with the essential security capabilities. Easily and
>> efficiently configure, manage, and operate all of your security controls
>> from a single console and one unified framework. Download a free trial.
>> http://p.sf.net/sfu/alienvault_d2d
>> _______________________________________________
>> wxlua-users mailing list
>> wxlua-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wxlua-users
>>
>
>

<<attachment: wxDatePickerCtrl-1.png>>

<<attachment: wxDatePickerCtrl-2.png>>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to