search for: wxapp

Displaying 20 results from an estimated 35 matches for "wxapp".

Did you mean: xapp
2003 Oct 25
9
Windows Compile Error
....8/i386-mswin32 -I. -I. -I./. . -I./../missing -c -Tpapp.cpp Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. app.cpp app.cpp(181) : error C2039: ''GetClassNameA'' : is not a member of ''wxAppWithCallbacks'' app_cb.h(16) : see declaration of ''wxAppWithCallbacks'' NMAKE : fatal error U1077: ''cl'' : return code ''0x2'' Stop. Error executing nmake. wxruby.so - 2 error(s), 0 warning(s) Thanks, Curt
2005 Feb 07
7
New Docs - First Look
...Once I can get it so all things get documented I''m going to work on the template for rdoc output. After the template is done, I am going to work on filtering the documenation and to create links and modify cpp style method names to ruby-style names. For example where it would say "wxApp::SetTopWindow" I would change that into a link "App::set_top_window" I hope to have more progress later tonight. Zach
2003 Oct 27
5
Windows Build - Down to Run Time Errors
I finally got a clean compile and link for wxRuby. Now I''m down to deciphering runtime errors. Once again, I''m going to pick up on this tomorrow, but I thought I''d post my console output tonight to see if anyone has any thoughts before I tackle this tomorrow. I''m running the same app "minimal.rb" E:\Dev\RubyDev\wxruby\samples\minimal>ruby
2008 May 11
4
Choosing a Sizer
Following alex advices, i''ve used both "text/textctrl.rb" and "etc/threaded.rb" to build my first wxApp. I''ve changed the Sizer type mainly (from "Wx::BoxSizer" to "Wx::FlexGridSizer"). I didn''t find the way to let @log (Wx::TextCtrl) span 2 columns. At the time of writing it''s growing only vertically. And also how to get 16px filler|spacer|border (for w...
2010 Dec 07
0
[LLVMdev] Arm Target
...umber of things, and none of them are likely to be related to LLVM. > for your reference , the two case are as shown below : > Case 1: Crash at a point when it tries to allocate memory in making an object of MyFrame in the code below. > bool MyApp::OnInit() > { > if ( !wxApp::OnInit() ) > return false; > // create the main application window > MyFrame *frame = new MyFrame(_T("Minimal wxWidgets App")); > frame->Show(true); > return true; > } > > Case 2: The code below is same...
2007 Mar 19
0
[898] branches/wxruby2/wxwidgets_282/swig/classes/App.i: Fix init of stock objects for Wx2.8 - was causing infinite loop +crash on OS X
...an this without crashing + bool OnInit() </ins><span class="cx"> { </span><del>-#ifdef __WXDEBUG__ - printf("OnInitGui before\n"); -#endif&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp - bool result = wxApp::OnInitGui(); -#ifdef __WXDEBUG__&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp - printf("OnInitGui after\n"); -#endif&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&...
2007 Dec 27
0
[ wxruby-Bugs-16622 ] Calling skip() on CommandEvent causes segfault on OS X 10.5
...92daec9d in SendEventToEventTargetInternal () #17 0x92dcb08e in SendEventToEventTarget () #18 0x92dde02b in ToolboxEventDispatcherHandler () #19 0x92dafc1c in DispatchEventToHandlers () #20 0x92daec9d in SendEventToEventTargetInternal () #21 0x92dcb08e in SendEventToEventTarget () #22 0x014b0df5 in wxApp::MacHandleOneEvent (this=0x12720be0, evr=0x12736860) at ../src/mac/carbon/app.cpp:1225 #23 0x014b0ec5 in wxApp::MacDoOneEvent (this=0x12720be0) at ../src/mac/carbon/app.cpp:1194 #24 0x014cc938 in wxEventLoop::Dispatch (this=0x12496b30) at ../src/mac/carbon/evtloop.cpp:107 #25 0x0156b72d in wxEventL...
2005 Feb 08
5
New Docs - One Look and a Partial Glance
...far along with some of the ideas floating in my head. Any more feedback you guys get would be great. Right now I''ve gathered: - put arguments and descriptions in rdoc - fix typo in header - convert cpp names in documented source into actual links using the ruby method, (ex: "WxApp::SetTopFrame" => "App::set_top_frame" ) I have some more possible ideas, but would like your feedback. I have the following information and I am thinking of adding it into the rdoc: - the lineno of the ruby method declaration, and the lineno of the declaration for the cpp t...
2010 Dec 07
3
[LLVMdev] Arm Target
Hello, We have been testing our llvm(2.8) compiled executables for arm target. It seems as if the arm target support is not so stable/mature yet. Is it so ?? We read about the same in the release notes but want a word from your side. Thanks, Sameer -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Feb 14
0
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...; /home/edwin/llbrowse/include/llbrowse/Resources.h:47: error: expected > ‘;’ before ‘*’ token Correction, 2.8.10 gets past these errors, and shows these errors instead: CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable for BrowserApp]+0x120): undefined reference to `wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*)' CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable for BrowserApp]+0x128): undefined reference to `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t const*)' C...
2006 Oct 23
0
[712] trunk/wxruby2/swig/classes/App.i: Removed unneeded debugging output & deprecated method (Alex Fenton)
...sp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("Our Initialize was called\n"); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspbool result = wxApp::Initialize(argc, argv); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspprintf("Their Initialize returned %d\n", result); -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&...
2011 Feb 14
3
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
On 2011-02-14 20:39, Talin wrote: > > > On Mon, Feb 14, 2011 at 1:17 AM, Renato Golin <rengolin at systemcall.org > <mailto:rengolin at systemcall.org>> wrote: > > I think this deserves a blog post... > > I'd like to wait until I get some feedback - I don't know yet if anyone > is having trouble building or running the thing... Hi Talin,
2006 Apr 23
5
Re: StaticBoxSizer bug?
...bet it''s something really obvious to someone with more experience > than I at hacking the wxruby2 source. > > daniel > > > ------------------------------------------------------------------------ > > #include <wx/wx.h> > > class SizerTestApp : public wxApp { > public: > virtual bool OnInit(); > }; > > class SizerTestFrame : public wxFrame { > public: > SizerTestFrame(const wxString & title); > }; > > IMPLEMENT_APP(SizerTestApp); > > bool SizerTestApp::OnInit() { > SizerTestFrame *frame = new SizerTestF...
2008 Feb 06
0
[ wxruby-Bugs-17827 ] Crash when closing Dialog in bigdemo.rb
...8 in rb_thread_trap_eval () #19 0x000de7e6 in rb_thread_trap_eval () #20 0x000da18c in rb_eval_string_wrap () #21 0x000dad6a in rb_eval_string_wrap () #22 0x000db7ed in rb_respond_to () #23 0x000db8d6 in rb_funcall () #24 0x010ab236 in wxRbCallback::EventThunker () at string.h:690 #25 0x0139fbc3 in wxAppConsole::HandleEvent (this=0x3ad2d0, handler=0x833200, func={__pfn = 0x10ab18c <wxRbCallback::EventThunker(wxEvent&)>, __delta = 0}, event=@0xbfffdf24) at ../src/common/appbase.cpp:320 #26 0x0143ba6e in wxEvtHandler::ProcessEventIfMatches (entry=@0x1582a500, handler=0x833200, event=@0xbfff...
2010 Dec 03
2
[LLVMdev] wxGTK sample app compiled by llvm crashes on arm
...cation) with a memory allocation using new in the very start, the same exe now would run successfully. For your reference I am posting both the codes: *Case 1: Crash* at a point when it tries to allocate memory in making an object of MyFrame in the code below. bool MyApp::OnInit() { if ( !wxApp::OnInit() ) return false; // create the main application window MyFrame *frame = new MyFrame(_T("Minimal wxWidgets App")); frame->Show(true); return true; } *Case 2*: The code below is same as above except the first line in the...
2007 Jan 05
0
[826] trunk/wxruby2/swig: Move RubyStockObjects back to App.i to avoid lots of error msg on GTK
...t;/span><span class="cx"> extern swig_class cWxEvtHandler; </span><ins>+extern "C" void Init_wxRubyStockObjects(); </ins><span class="cx"> </span><ins>+ </ins><span class="cx"> class wxRubyApp : public wxApp </span><span class="cx"> { </span><span class="cx"> </span><span class="lines">@@ -82,11 +84,17 @@ </span><span class="cx"> #ifdef __WXDEBUG__&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&...
2005 Apr 27
6
does anyone have success with wxruby with wxwidgets 2.6?
Hello, All. I`m trying to compile wxruby with wxwidgets 2.6 under windows with latest mingw, but have lot of troubles. wxwidgets and ruby 1.8.2 compiles just fine, examples work pretty well. To make wxruby compile (non-swig, from cvs) i was made some minor changes like explicit cast ("IN2NUM(...)" to "INT2NUM((long) ...)"), removed some constant definitions from const.cpp
2004 Aug 07
1
end_modal question
Really stupid question, but have you wrapped this all in an App class? If you don''t have a wxApp subclass driving your applications then all sorts of badness would happen. > I''m writing a custom little application for my boss''s high school > football team to track there stats play by play. > > My problem is that when I start the application, it immediately pro...
2011 Feb 14
5
[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules
...rowse/Resources.h:47: error: expected > > ‘;’ before ‘*’ token > > Correction, 2.8.10 gets past these errors, and shows these errors instead: > > CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable > for BrowserApp]+0x120): undefined reference to > `wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t > const*, wchar_t const*)' > > CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable > for BrowserApp]+0x128): undefined reference to > `wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const...
2008 May 26
9
App#process_message
how can rewrite the App # process_message to treat the messages of the system? wxruby -- Posted via http://www.ruby-forum.com/.