|
List Info
Thread: Getting started...
|
|
| Getting started... |

|
2006-03-10 09:29:05 |
|
Hi,
It's possible that you're in XRC mode and it didn't successfully
load the XRC file, for whatever reason. You need to check the
values of the variables, e.g. 'this' and other variables,
and look out for NULL pointers.
Regards,
Julian
At 08:57 10/03/2006, you wrote:
>Hi!
>I'm new to wxWidgets and just bought DialogBlocks after my problem
>appears but also the registered version didn't solve it.
>I did follow the DialogBlocks "Getting started guide" to create my
>first app:
>
>1. Setting up a frame
>2. Creating a modal dialog wich has a sizer as default
>3. Including a button
>4. Setting the dialog id as the main window value in frame properties
>
>While compiling I've got a warning about a unused variable (retval).
>When I start the binary I get a segfault. Gdb identifies the function
>"wxSizer::GetMinSize" as called last:
>
>#0 0x08130705 in wxSizer::GetMinSize ()
>#1 0x08132358 in wxSizer::GetMinWindowSize ()
>#2 0x081323d5 in wxSizer::FitSize ()
>#3 0x0813244a in wxSizer::Fit ()
>#4 0x0805b5e2 in CDlg::Create ()
>#5 0x0805b636 in CDlg::CDlg ()
>#6 0x0805af83 in WxSampleApp::OnInit ()
>#7 0x0805b083 in wxAppConsole::CallOnInit ()
>#8 0x0808a06b in wxEntry ()
>#9 0x0805aab0 in main ()
>
>Can anyone help?
>Thanks a lot, Yves.
>
>Fedora Core 4
>g++ 4.0.2
>wxWidget 2.6.3-Unicode
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
==============================================================================
Julian Smart julian anthemion.co.uk
28/5 Gillespie Crescent, Edinburgh, http://www.anthemion.co.uk
Midlothian, U.K., EH10 4HU +44 (0)131 229 5306
Writer's Cafe: power tools for writers http://www.writerscafe.co.uk
HelpBlocks: HTML help authoring http://www.helpblocks.com
DialogBlocks: cross-platform dialogs http://www.anthemion.co.uk/dialogblocks
==============================================================================
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|