Hi John,
This looks like exactly the information I was looking for. DynamicCast
is the method I was missing. Thank you for the detailed examples.
Paul.
On Tue, Jun 12, 2012 at 8:57 PM, John Labenski jlaben...@gmail.com wrote:
On Tue, Jun 12, 2012 at 2:26 AM, Paul K paulclin...@yahoo.com wrote
Hi John,
I think this is a bug in wxwidgets, but I'm looking for suggestions
about a workaround.
Essentially, if the application has menu items that change their
state, the change in that state is not detected when the application
is in full screen mode (and the menu is hidden). The same issue
Hi John,
Thank you for making the binaries available! I gave the Unicode
binaries a try, but the results are a mixed bag. I can barely get them
running for my application, which allows me to confirm that UTF-8
encoding is now working, but other encodings stopped working. For
example, if I set
messages we used to be getting seem to be coming from
wxString wxlua_LUA_ERR_msg(int LUA_ERRx) function in wxlstate.cpp
with the value LUA_ERRRUN. I'm not sure why the new version doesn't
trigger/report that anymore.
Paul.
On Thu, Jun 28, 2012 at 11:34 PM, Paul K paulclin...@yahoo.com wrote:
Hi John
.
On Thu, Jun 28, 2012 at 11:51 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Couple of other things. The new version seems to be using
significantly less memory. When I can get the app to start, it's only
using about 7.8M memory, where the old one was using 13-14M. This may
be related
in full screen with the
new binaries, although I only did limited testing because of other
problems (as described in the thread about the binaries).
Paul.
On Thu, Jun 28, 2012 at 10:27 PM, John Labenski jlaben...@gmail.com wrote:
On Thu, Jun 28, 2012 at 1:50 AM, Paul K paulclin...@yahoo.com wrote
29, 2012 at 2:34 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Thank you for making the binaries available! I gave the Unicode
binaries a try, but the results are a mixed bag. I can barely get them
running for my application, which allows me to confirm that UTF-8
encoding is now working
in troubleshooting.
Paul.
On Sat, Jun 30, 2012 at 10:34 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
(combining responses from three different messages)
It all makes sense; I agree on UTF8.
You can't always expect that a lib compiled with one version of code
to work with another. Ideally you
Hi John,
Download 2.8.12.1 and try it. I have tested with
luasocket-2.0.2-lua-5.1.2-Win32-vc8.zip downloaded from Lua binaries
and it works.
This is huge progress; very close to where I'd like to be. I got the
application working with these binaries (including luasocket) and
almost all the
suggestion is to revert this change.
Paul.
On Sat, Jun 30, 2012 at 6:00 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Download 2.8.12.1 and try it. I have tested with
luasocket-2.0.2-lua-5.1.2-Win32-vc8.zip downloaded from Lua binaries
and it works.
This is huge progress; very close to where
jlaben...@gmail.com wrote:
On Sat, Jun 30, 2012 at 9:00 PM, Paul K paulclin...@yahoo.com wrote:
Couple of things that are not working. Shortcuts in the full screen
mode I reported earlier are not working. Either something has changed
or I did not test them correctly with the previous version
and run into the same problem.
Paul.
On Sun, Jul 1, 2012 at 8:50 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Please read this thread to understand a little more about why it was blocked.
http://www.mail-archive.com/wxlua-users@lists.sourceforge.net/msg02296.html
I read the thread, but don't
Hi John,
I'm having troubles compiling monolithic dylib on MacOS. I've read the
description here (http://wxlua.sourceforge.net/docs/install.html#C4)
about SHARED and MONOLITHIC options, but can't find what corresponds
to them in the new make configuration. I've tried different
combinations, but
Hi John,
I'm getting a compilation error on the latest wxlua revision (102) from svn:
/Users/paul/svn/wxlua/trunk/wxLua/bk-deps g++ -c -o
wxbindcore_dll_wxcore_bind.o -I./.pch/wxprec_wxbindcore_dll
-I../modules/wxbind/setup -I../modules -I./.. -I/usr/include/lua5.1
-DWXMAKINGDLL_WXBINDCORE
Does anyone have an example of how I can implement multiple views in
wxLua? I have read through this description
(http://www.yellowbrain.com/stc/mult_views.html), but still can't
figure out what the required calls are.
What I want to do is quite simple: I have an editor window that I want
to
Hi John,
I've read through the installation/compilation instructions and am
still searching for a combination of settings I need to apply to get
one wx.dll produced.
Here is the command I used:
mingw32-make -f makefile.gcc BUILD=release UNICODE=1 SHARED=1
MONOLITHIC=1 WX_MONOLITHIC=0
libwxlua_lua51-wx28mswu-2.8.12.dll?
All I need is a standalone wx.dll I can compile in Unicode
configuration that I can use with my lua dll. Is this possible?
Paul.
On Wed, Aug 8, 2012 at 7:22 PM, John Labenski jlaben...@gmail.com wrote:
On Wed, Aug 8, 2012 at 8:42 PM, Paul K paulclin...@yahoo.com
It seems like I can't get a proper unicode path from GetCwd() on
windows using wxLua 2.8.12.2.
I'm running the following code:
wx.wxFileName.SetCwd(D:\\Lua\\下载\\); print(wx.wxFileName.GetCwd())
and this prints D:\Lua\?? whereas I expect the original path to be
printed. SetCwd() returns true. I
Hi all,
I'm working with an application that saves data in files and some of
the operations may trigger file errors. I'm handling those errors
myself and don't want to see the standard error message shown by
wxwidgets. How do I disable it? Here is the code that I have:
local file =
+ wx.wxCENTRE)
end
end
main()
wx.wxGetApp():MainLoop()
Paul.
On Thu, Aug 16, 2012 at 8:21 PM, John Labenski jlaben...@gmail.com wrote:
On Thu, Aug 16, 2012 at 10:56 PM, Paul K paulclin...@yahoo.com wrote:
Hi all,
I'm working with an application that saves data in files and some of
the operations
As you can see, the file is there, but using the result of GetCwd to
set it as the current folder fails (returns false the second time).
Paul.
On Sun, Aug 19, 2012 at 7:53 PM, John Labenski jlaben...@gmail.com wrote:
On Thu, Aug 16, 2012 at 11:24 AM, Paul K paulclin...@yahoo.com wrote
Hi Milind,
I quickly tried that in wxLua, but couldn't figure out how to specify
the folder to run scripts in so that loadfile and io.open would work.
I also tried to do this in ZeroBrane Studio
(https://github.com/pkulchenko/ZeroBraneStudio) and it seems like it
may work for you (the IDE is
(crossposting to wxlua-users as this is a wxlua-based application;
thanks to John Labenski for all the support and assistance with wxlua
upgrade.)
ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax
highlighting, live coding, remote debugger, code analyzer, and
Hi Victor,
I have always wanted to require wx in a lane but because of only once dll
initialization it does not work. I am able to require wx from a lane if it
has not been required from the main lua_State.
I might have seen a similar issue, but for a different reason: I
wanted to be able to
Hi All,
I have a wxChoice dropdown, which I'm populating on wx.wxEVT_SET_FOCUS
event. Unfortunately, this event is not triggered on Mac, which seems
to be a feature. I found a ticket related to this:
http://trac.wxwidgets.org/ticket/10047.
The fix seems to be using EVT_CHILD_FOCUS instead of
Hi John,
I just noticed that for some reason wx.wxMOD_NONE is not defined on
Mac (wxlua 2.8.12.1) while it is defined correctly on Windows. This
breaks logic like event:GetModifiers() == wx.wxMOD_NONE. In fact, it
seems like none of the wx.wxMOD_* constants is defined on Mac.
GetModifiers()
)
proc:Redirect()
wx.wxExecute( cmd, wx.wxEXEC_ASYNC, proc )
I get this code somewhere and work fine for me.
--
João Mendes de Oliveira Neto
2012/9/30 Paul K paulclin...@yahoo.com
Hi All,
I'm trying to read output from a program and am having trouble with
the following three lines of code
?
Thanks.
Paul.
ZeroBrane Studio - slick Lua IDE and debugger for Windows, OSX, and
Linux - http://studio.zerobrane.com/
On Mon, Oct 1, 2012 at 8:49 PM, John Labenski jlaben...@gmail.com wrote:
On Mon, Oct 1, 2012 at 11:41 AM, Paul K paulclin...@yahoo.com wrote:
Hi João,
Thank you for the solution
the
problem
end
)
proc:Redirect()
wx.wxExecute( cmd, wx.wxEXEC_ASYNC, proc )
I get this code somewhere and work fine for me.
--
João Mendes de Oliveira Neto
2012/9/30 Paul K paulclin...@yahoo.com
Hi All,
I'm trying to read output from a program and am having trouble
Hi Mike,
BUT another thing that I did was to install the ZeroBrane IDE before running
the wx examples. Maybe this changes the associated program for .wlua files
(which incidentally appears as 'Lua Windows Standalone Interpreter' on my
system.)
I can tell you to the best of my knowledge
Hi John,
One of the users noticed that checkboxes in Find/Replace dialogs in
ZeroBraneStudio don't react to clicks on Mac OSX; I tested
Find/Replace dialog in your editor.wx.lua sample and it shows exactly
the same issue (using wxlua 2.8.12.1). Other checkboxes (for examples
in controls.wx.lua)
on how to fix this?
Paul.
On Sat, Oct 13, 2012 at 11:07 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
One of the users noticed that checkboxes in Find/Replace dialogs in
ZeroBraneStudio don't react to clicks on Mac OSX; I tested
Find/Replace dialog in your editor.wx.lua sample
for a fix/workaround. Is there an easy way to check what
object gets those clicks and to propagate the clicks to my checkboxes?
Paul.
On Sat, Oct 13, 2012 at 11:29 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I think it's indeed a sizer-related issue; for example, if I comment
out
of the checkboxes get their events on OSX (you can
still click on the area of the checkbox label if it sticks outside of
the static box).
Paul.
On Tue, Oct 16, 2012 at 11:27 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Ok, I narrowed it down to a problem with wxStaticBoxSizer as the
following
.
Paul.
On Wed, Oct 17, 2012 at 9:00 PM, John Labenski jlaben...@gmail.com wrote:
On Wed, Oct 17, 2012 at 7:26 PM, Paul K paulclin...@yahoo.com wrote:
Hi All,
I've been looking for a way to process events globally in the app and
saw FilterEvent
(http://docs.wxwidgets.org/2.8/wx_wxapp.html
now, but
couldn't find it.
Paul.
On Thu, Oct 18, 2012 at 9:43 PM, John Labenski jlaben...@gmail.com wrote:
On Thu, Oct 18, 2012 at 11:14 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
If you can you explain what you are trying to do I might be able to help.
Sure; I'm trying to detect idle
ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax
highlighting, live coding, remote debugger, code analyzer, and
hypertext/markdown formatting support for integrating learning
materials (examples and demos provided).
The IDE is available at http://studio.zerobrane.com/. The
SCLEX_CONTAINER, but
still make a call that will apply styling using some lexer (for
example, Lua) and I'll do the rest of the styling as needed?
Paul.
On Thu, Nov 15, 2012 at 1:12 PM, John Labenski jlaben...@gmail.com wrote:
On Thu, Nov 15, 2012 at 3:56 PM, Paul K paulclin...@yahoo.com wrote:
Hi John
Please update from SVN, it should work now. Sorry, I was not correctly
handling the void* DocPointers pushed as lightuserdata into Lua
correctly.
Works now; thanks John!
Paul.
On Tue, Jan 29, 2013 at 9:18 PM, John Labenski jlaben...@gmail.com wrote:
On Tue, Jan 29, 2013 at 1:53 PM, Paul K
on the screen
will be larger than the number in the document).
Paul.
On Mon, Feb 25, 2013 at 9:28 PM, John Labenski jlaben...@gmail.com wrote:
On Mon, Feb 25, 2013 at 1:30 PM, Paul K paulclin...@yahoo.com wrote:
In the best tradition of self-answering, it turned out that
GetLineVisible doesn't do
that
demonstrates the issue.
Paul.
On Wed, Feb 27, 2013 at 9:39 PM, John Labenski jlaben...@gmail.com wrote:
On Wed, Feb 27, 2013 at 6:26 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I'd like to resurrect this discussion as the issue hasn't been fully
put to bed and as I'm preparing
Hi John,
I tried to compile the latest wxlua and ran into compilation errors
(both on OSX and Windows). I also tried with rev 163 (before Lua 5.2
changes) and compiled it successfully (also on both platforms). The
error messages I got are at the bottom of the email.
Tangentially related; would
was looking for it in the
configure parameters instead of make.
Paul.
On Wed, Mar 6, 2013 at 11:39 PM, John Labenski jlaben...@gmail.com wrote:
On Wed, Mar 6, 2013 at 11:56 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I tried to compile the latest wxlua and ran into compilation errors
(both on OSX
.a.
Call Stack (most recent call first):
cmake_install.cmake:129 (INCLUDE)
make: *** [install/strip] Error 1
It would be nice to skip installing components that haven't been built.
Paul.
On Thu, Mar 7, 2013 at 10:15 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Thanks for reporting, it should
, John Labenski jlaben...@gmail.com wrote:
On Thu, Mar 7, 2013 at 2:46 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
You can already choose to build whatever libs and apps you want right
now. Choose the project you want to build in MSVC or run make help
for GCC to list all the targets
recommend simply building it as is and taking
the parts you want.
That is what I ended up doing. Thanks for taking look at this.
Paul.
On Fri, Mar 8, 2013 at 10:41 AM, John Labenski jlaben...@gmail.com wrote:
On Fri, Mar 8, 2013 at 12:45 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
You
Hi John,
I noticed that wxlua is missing the Traverse method in wxDir object
(http://docs.wxwidgets.org/2.8/wx_wxdir.html#wxdirtraverse).
Is it possible to add it or is there something more fundamental that
prevents it? I'd also like to make sure that wxDirTraverser
for my needs.
Paul.
On Fri, Mar 15, 2013 at 6:24 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I do that now (I use GetFirst() and GetNext()), but it's a bit slow
for my purposes. GetAllFiles is much faster, but my main problem with
it is that I can't exclude directories I don't need
Hi John,
I ran into an issue with configuring wxlua to use system libpng
library. I tried both --with-libpng=builtin and --with-libpng=sys, but
I get exactly the same result.
This discussion
(https://groups.google.com/forum/?fromgroups=#!topic/wx-users/2QWQD0qUVUc)
indicates that it's better to
Hi John,
As far as I understand, wxstedit is only needed when wxlua is compiled
with wxwidgets 2.8.12; it's no longer required for 2.9.x. Or am I
mistaken?
If it's not needed for 2.9.x, then svn checkout --ignore-externals
can probably be used to skip it (I can't test it at the moment).
Paul.
Hi John,
Would it be possible to add missing calls and constants? Thank you.
BTW, ControlDown() has changed its behavior between 2.8 and 2.9 wxwidgets
as it used to mean Ctrl on all platforms (with CmdDown() meaning Ctrl/Cmd),
but it now means Ctrl/Cmd (and CmdDown() is deprecated).
Hi John,
Can you add wxTreeCtrl:SetItemState (2.9.x call) as well as related
constants (wxTREE_ITEMSTATE_*)?
The click event for the item state is there
(EVT_(COMMAND_)TREE_STATE_IMAGE_CLICK), but not the state setting
method. Thank you.
Paul.
Hi John,
I'm trying to provide my own custom error handler that will replace
the default dialog shown after run-time errors in wxlua
(wxLuaModuleApp::OnLuaError), but I'm having trouble with it as
wxEVT_LUA_ERROR doesn't seem to be available to Lua scripts.
Was that intentional and is it
is the UI done in wxlua? If yes how do you implement the main
text with down with different colors, breakpoint mark and line numbers?
Thanks,
Milind
On Fri, May 3, 2013 at 9:41 AM, Paul K paulclin...@yahoo.com wrote:
Hi All,
Does anyone have a simple drag and drop example that works
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
Hi John,
I've been looking for ways to catch and report run-time errors in the
application. Lua errors are covered with your recent support for
EVT_LUA_ERROR (http://sourceforge.net/p/wxlua/svn/180/), but there are
still fatal exceptions in the application that may happen.
As far as I can see
Hi John,
I got several reports (from the same machine) of crashes in my
application when a user types something in wxSTC control. It's
difficult to reproduce and seems to happen infrequently, but the
captured stack trace points to wxLuaState::LuaPCall call. This is
running wxlua 2.8.12.2 and
Hi John,
lua_yield is a coroutine function, are you running coroutines? If so, then
Lua will be swapping lua_States in and out and pausing them whenever it wants
to, making the stack seem very strange.
I do (in general), but it's in a completely different part (for
debugging) and is not
/OMOTMN-D3F4/ETrm7M7qTpcJ.
Thank you!
Paul.
On Thu, Jun 20, 2013 at 9:34 PM, John Labenski jlaben...@gmail.com wrote:
On Thu, Jun 20, 2013 at 11:51 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Can you add a new method GetContentScaleFactor that can be used to
detect Retina displays
(https
Hi John,
I tried to compile the current trunk on Windows using mingw and ran
into a compilation error:
...wxLua/modules/wxbind/src/wxcore_bind.cpp: In member function
'virtual bool wxLuaBinding_wxcore::RegisterBinding(const
wxLuaState)':
...wxlua/wxLua/modules/wxbind/src/wxcore_bind.cpp:7495:46:
Hi John,
I've been looking into using twoface ABI mapper
(http://corsix.github.io/twoface/) to run ZeroBrane Studio on top of
Lua 5.2 without recompiling wxlua and luasocket (both are compiled for
Lua 5.1). For those not familiar with it, it allows to run Lua 5.2
engine with modules compiled for
at 11:26 AM, John Labenski jlaben...@gmail.com wrote:
On Fri, Jul 19, 2013 at 7:54 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I've been looking into using twoface ABI mapper
(http://corsix.github.io/twoface/) to run ZeroBrane Studio on top of
Lua 5.2 without recompiling wxlua
Hi Andreas,
So somebody who knows the internals of wxLua wxWidgets should
probably be able to find the problem pretty quickly. For me it's complicated
because I hardly know anything about C++. I have 15+ years of experience in
plain C but C++ still makes me shiver :) That's why it's very
I'm very interested in what manifest needs to be used as well. My
executable *does* include a manifest, but it doesn't statically
compile wx.dll and loads it at run-time. My calendar looks like a
generic one (the one that Milind has on the left side), so I either
need to have a different content
Anyone has an example that allows to accept a filename after DD that
works on Windows/OSX/Linux?
Nobody knows? John? I'll be happy with any hints I can try...
Paul.
On Sat, Aug 3, 2013 at 9:11 PM, Paul K paulclin...@yahoo.com wrote:
Hi All,
I'm trying to make my application accept files
Hi John,
After that wxlua and lua produce the same (calendar) results. You can
also tweak the manifest before embedding it to see the effect.
Were you able to reproduce the same effect?
Paul.
On Mon, Aug 19, 2013 at 8:44 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I just added
appreciate if you could add the missing functions and provided a
simple example I can use as a starting point. Thank you!
Paul.
On Sun, Aug 25, 2013 at 9:06 PM, John Labenski jlaben...@gmail.com wrote:
On Fri, Aug 23, 2013 at 2:16 AM, Paul K paulclin...@yahoo.com wrote:
Anyone has an example
Hi John,
I'm trying to call wx.wxMouseEvent():GetModifiers(), but get wxLua:
Unable to call an unknown method 'GetModifiers' on a 'wxMouseEvent'
type.
wxMouseEvent is inherited from wxKeyboardState (among other things),
so it should definitely work. In fact, I can call some methods (like
Hi John,
That function (and class hierarchy) only exists in wxWidgets 2.9 onwards.
It's just an alternative to the current ControlDown(), AltDown(), ShiftDown()
functions. Will those work for you in the near term?
Yes, but instead of checking event:GetModifiers() ==
wx.wxMOD_CONTROL I need
Hi John,
I'm trying to build wxlua against LuaJIT and get compilation errors. I
know, I can build against normal Lua 5.1 and use it with LuaJIT (and
that's exactly what I'm doing now), but I'd like to avoid that extra
step if possible. These are the errors:
../wxLua/modules/wxlua/lbitlib.c:83:
Hi John,
since CMake advertises that CMAKE_INSTALL_PREFIX is the install dir I went
back to using that to make it more familiar to CMake users.
yes, replacing BUILD_INSTALL_PREFIX with CMAKE_INSTALL_PREFIX worked. Thank you.
Paul.
Hi John,
I added it, but note that is only safer for multi-threaded programs, to be
sure coroutines are single-threaded
Thank you; I still get occasional crash on win7 64bit that I attribute
to AddPendingEvent and QueueEvent may eliminate it.
Paul.
Hi Kent,
I just compiled my wxlua based application with wxwidgets 3.0 couple
of days ago and haven't seen any issues/crashes yet. I'll try to run
the samples tomorrow (don't have access to my MacBook right now) to
check if there are any issues with them.
- Is this setup supposed to work at
Hi Lucas,
I wonder if there is any debugger done in wx.lua that have function Step In
Step out.Tenho wxLua on a project at my college (UFOP) in Brazil and need such
a function to be used in my code.
Yes, there is an example in samples/editor.wx.lua, which implements
step-in and step-out
Hi John,
Would it be possible to add CallAfter
(http://wxwidgets.blogspot.com/2013/01/about-benefits-of-procrastination.html)
and wxSTC:GetLibraryVersionInfo calls? Thank you.
Paul.
--
Rapidly troubleshoot problems
Hi John,
I'm looking for a way to provide MacNewFile, MacOpenFiles, and
MacReopenApp methods
(http://docs.wxwidgets.org/trunk/classwx_app.html), but can't figure
out how to do this in wxlua and don't see this in any of the examples.
Can these be used somehow or do they need to be added to the
Hi John,
Would it be possible to add a binding for wxRegKey:
http://docs.wxwidgets.org/trunk/classwx_reg_key.html? Thank you!
Paul.
--
Rapidly troubleshoot problems before they affect your business. Most IT
:36 PM, John Labenski jlaben...@gmail.com wrote:
On Wed, Dec 25, 2013 at 1:42 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
Would it be possible to add a binding for wxRegKey:
http://docs.wxwidgets.org/trunk/classwx_reg_key.html? Thank you!
Yes, and for the other things too
Hi John,
I'm trying to compile wxlua using the trunk version and ran into a
strange issue that I've never seen before. I went back to r170, but it
shows the same issue. Here is the error:
d:/Lua/ZBS-build/build/wxlua/wxLua/modules/luamodule/luamodule.cpp:39:77:
error: declaration of C function
Hi John,
d:/Lua/ZBS-build/build/wxlua/wxLua/modules/luamodule/luamodule.cpp:39:77:
error: declaration of C function 'BOOL DllMain(HANDLE, DWORD, LPVOID)'
conflicts with
BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID
);
Just a quick update on this. I tried
Hi John,
I managed to compile wxlua by explicitly adding --enable-compat28 to
wxwidgets configuration, but would be nice to update for 3.0.
Paul.
On Mon, Jan 6, 2014 at 11:00 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I made a copying error: it's GetBeginPos(), GetEndPos1
that provides the same
functionality.
Paul.
On Tue, Dec 24, 2013 at 9:38 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I'm looking for a way to provide MacNewFile, MacOpenFiles, and
MacReopenApp methods
(http://docs.wxwidgets.org/trunk/classwx_app.html), but can't figure
out how to do this in wxlua
I have started to update wxLua for wxWidgets 3.0 without WX_COMPATIBILITY_2_8
defined, but there are far more changes than I expected and it will take a
few more days.
Great; thank you.
Note that wxLua builds ok with compat 28 defined in wx30.
Right; this is exactly how I compiled it and
Hi John,
I'm looking for a way to provide MacNewFile, MacOpenFiles, and
MacReopenApp methods
They need to be added, it should be doable.
This would be great; thank you!
I'll try to remember, these. I'm glad you have an alternative for wxRegKey, I
would rather not add it. CallAfter() may
Hi John,
I came across few more compilation errors when compat28 flag is not used:
[ 17%] Building CXX object
modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_geometry.cpp.o
/home/paul/zbs/build/wxlua/wxLua/modules/wxbind/src/wxcore_defsutils.cpp:
In function 'int
, 2014 at 6:48 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I came across few more compilation errors when compat28 flag is not used:
Yes, there are far more differences than I realized, you'll have to use
--enable-compat28 for the near future. I have also seen some problems with
the wxLua
Hi John,
I'm looking for a way to handle (possibly) invalid UTF-8 characters
and seem to be missing wxString::From8BitData() and
wxString::To8BitData() methods (according to this page:
http://docs.wxwidgets.org/trunk/overview_unicode.html#overview_unicode_supportout).
What I am trying to do is
Hi John,
I'm no expert in UTF8, but isn't it possible that a malformed UTF8 sequence
makes the rest of the file unusable in the sense that you can't really be
sure how many bytes the 'bad' sequence is so you could be off by a few bytes
for the rest of the file?
Not really, as you can
I didn't realize we don't have wxWebView binding. I'm very much
interested in that as well.
I asked previously about wxPropertyGrid, but I believe John said that
it's going to be more work than seems from the API, so I found a
different way to do what I wanted.
Paul.
On Thu, Feb 20, 2014 at
:
On Wed, Feb 19, 2014 at 1:27 AM, Paul K paulclin...@yahoo.com wrote:
Do we also get To8BitData(), as I may need it to save the data back to a
file?
Yes, note that From8BitData() is static and To8BitData() is not.
Regards,
John
Hi John,
I'm looking for a way to provide MacNewFile, MacOpenFiles, and
MacReopenApp methods
(http://docs.wxwidgets.org/trunk/classwx_app.html), but can't figure
out how to do this in wxlua and don't see this in any of the examples.
They need to be added, it should be doable.
Do you
Hi John,
I'm wondering why you want to create a wxTreeEvent?
It was to trigger wxEVT_COMMAND_TREE_ITEM_ACTIVATED event manually:
wx.wxTreeEvent(wx.wxEVT_COMMAND_TREE_ITEM_ACTIVATED, item_id).
Try using item_id:GetValue().
Added in SVN.
Thank you!
Paul.
Hi John,
I honestly don't know. Did you try to call wxSTC::AddTextRaw(const char*)?
This function does not do any UTF8 conversions before passing the string to
Scintilla.
It worked! I wasn't aware of *TextRaw methods and they do exactly
what's needed in this case. The only issue is that you
Hi John,
I only see AddTextRaw and InsertTextRaw in wxlua; there seems to be
GetTextRaw, SetTextRaw, AppendTextRaw, and GetSelectedTextRaw missing
from wxlua. Would it be possible to add them? Thank you!
I remmed them out, but I don't remember why. I added them back in SVN.
Looks good. Thank
Hi John,
I just noticed that wxAuiTabArt class is missing SetColour and
SetActiveColour methods for some reason. All the others (according to
the documentation at
http://docs.wxwidgets.org/trunk/classwx_aui_tab_art.html) appear to be
present.
Would it be possible to add these as well as it
Hi John,
A follow-up question on wxAuiTabArt. The class provides ShowDropDown
method that displays the list of opened tabs, but I'd like to replace
it with something else.
Is there a way to overwrite ShowDropDown method with my own? Thank you.
Paul.
On Tue, Apr 8, 2014 at 4:41 PM, Paul K
methods for
wxAuiTabArt class. Thank you!
Paul.
On Sat, Apr 12, 2014 at 9:12 PM, Paul K paulclin...@yahoo.com wrote:
Hi John,
A follow-up question on wxAuiTabArt. The class provides ShowDropDown
method that displays the list of opened tabs, but I'd like to replace
it with something else
, Apr 12, 2014 at 10:26 AM, Paul K paulclin...@yahoo.com wrote:
Hi John,
I tried to compile the latest wxlua with the latest wxwidgets and ran
into a compilation error:
...wxlua/wxLua/modules/wxbind/src/wxstc_bind.cpp: In function
'wxLuaBindNumber* wxLuaGetDefineList_wxstc(size_t)':
...wxlua
John,
Fixed now in svn, at least for my version of gcc, Fedora 20, gcc 4.8.2.
Thank you for the update. Curious, can you run a simple script that
checks if GetChildren() is available method for wxWindow? It's been
reported that for some reason GetChildren() is not available when
compiled with
Hi John,
I just noticed that wxDir is missing Close method for some reason.
This creates a problem with those situations when the directory
content needs to be enumerated with FindFirst and FindNext and aborted
without finishing (as the object seems to keep some of the files in
locked state
1 - 100 of 130 matches
Mail list logo