Search found 81 matches

by guzzi_jones
Sun Dec 29, 2013 11:34 pm
Forum: C++ Development
Topic: wxgrid cell edit lose focus
Replies: 1
Views: 938

wxgrid cell edit lose focus

Is there an event that is called when a cell edit loses focus?
I would like to write my table back to the database.
by guzzi_jones
Tue Dec 24, 2013 4:38 am
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

Is there some place that i can check that this is enabled in my download of wxWidgets3.0.0?
I see this on an old post from 08

http://ubuntuforums.org/archive/index.php/t-937810.html
optional:
--enable-dataviewctrl use wxDataViewCtrl class
by guzzi_jones
Tue Dec 24, 2013 3:12 am
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

ok i have tried to download the gtk version of wxwidgets3.0.0. I am running ubuntu 12.04 lte I attempated to build it myself and install it according to directions in the doc folder. I still could not compile dataview.cpp here is the output of make g++ -c -o dataview_dataview.o -I. `wx-config --cxxf...
by guzzi_jones
Sun Dec 22, 2013 3:44 am
Forum: Compiler / Linking / IDE Related
Topic: first program in vim
Replies: 4
Views: 1677

Re: first program in vim

This worked with above compiles string #include <wx/app.h> 2 #include <wx/wx.h> 3 #include <wx/msgdlg.h> 4 #include <wx/intl.h> 5 6 #include <wx/string.h> 7 8 //*) 9 10 class OurApp : public wxApp 11 { 12 bool OnInit(); 13 14 15 16 }; 17 bool OurApp::OnInit(){ 18 wxFrame* frame = new wxFrame(NULL, w...
by guzzi_jones
Sun Dec 22, 2013 1:19 am
Forum: Compiler / Linking / IDE Related
Topic: first program in vim
Replies: 4
Views: 1677

Re: first program in vim

Now when I try and run the program this is what I get:

$ ./ourappmain.o
(process:4618): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()
by guzzi_jones
Sun Dec 22, 2013 1:12 am
Forum: Compiler / Linking / IDE Related
Topic: first program in vim
Replies: 4
Views: 1677

Re: first program in vim

this compiles string got it to compile for me: gcc *.cpp -o ourappmain.o `/usr/bin/wx-config --libs --cppflags` I am walking through this tutorial and learning a lot. http://hosannahighertech.co.tz/forums/showthread.php?tid=68 I am getting so frustrated in codeblocks. I am a vim guy so this tutorial...
by guzzi_jones
Sun Dec 22, 2013 1:10 am
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

i had to manually eliminate the remnants of the 3.0 I installed.
the uninstall did not totally get rid of it.
by guzzi_jones
Sun Dec 22, 2013 12:52 am
Forum: Compiler / Linking / IDE Related
Topic: first program in vim
Replies: 4
Views: 1677

first program in vim

I am attempting to compile my first program in vim on ubuntu using wxwidgets 2.8. I have written the following program: #include <wx/app.h> 2 #include <wx/msgdlg.h> 3 #include <wx/intl.h> 4 #include <wx/string.h> 5 #include <wx/wx.h> 6 7 8 class OurApp : public wxApp 9 { 10 bool OnInit() 11 { 12 13 ...
by guzzi_jones
Sat Dec 21, 2013 3:00 pm
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

I am a newb. how do i test that variable. As a side note i have noticed that if I put #include "wx/generic/dataview.h" in my header area i am able to get past that error, but stop at another error trying to complile the sample dataview.h. Is this a setting in wx that i need to change so it grabs ALL...
by guzzi_jones
Sat Dec 21, 2013 2:06 pm
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

g++ -c -o dataview_dataview.o -I. `wx-config --cxxflags` -MTdataview_dataview.o -MF`echo dataview_dataview.o | sed -e 's,\.o$,.d,'` -MD -MP dataview.cpp dataview.cpp:42:1: error: expected class-name before ‘{’ token 2 dataview.cpp:140:1: error: expected class-name before ‘{’ token 3 dataview.cpp:169...
by guzzi_jones
Sat Dec 21, 2013 1:21 pm
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

no i cannot. I actually get the same error
by guzzi_jones
Sat Dec 21, 2013 2:01 am
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

hmm as soon as i add the inheritance : wxDataViewModel
i get the error.
by guzzi_jones
Sat Dec 21, 2013 1:54 am
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

Re: first wxdataviewmodel

no clue, but i created the class using File | New Class and it compiles now.
by guzzi_jones
Sat Dec 21, 2013 1:46 am
Forum: C++ Development
Topic: first wxdataviewmodel
Replies: 12
Views: 2449

first wxdataviewmodel

I am attempting to write my first wxdataviewmodel. I am using codeblocks 10.5 with wxwidgets 2.8. I have a file created with this code: //MYLTYPE #ifndef MYLTYPE_H #define MYLTYPE_H #include <wx/dataview.h> class myltype: public wxDataViewModel { } #endif the error i am getting is: /home/aj/bdn/mylt...
by guzzi_jones
Wed Dec 18, 2013 3:08 am
Forum: Compiler / Linking / IDE Related
Topic: how to specify wxWidgets version in CodeBlocks on Ubuntu
Replies: 3
Views: 2527

Re: how to specify wxWidgets version in CodeBlocks on Ubuntu

I am also wondering how to set wxwidgets to use 3.0.
Under build options I do see linker settings - `wx-config --libs`