List Info

Thread: Getting started...




Getting started...
user name
2006-03-10 09:07:54
i think u hav to compile library as RELEASE or DEBUG
mode......

--- aiscape <yves.pauschgmail.com&gt; wrote:

> Hi!
> I'm new to wxWidgets and just bought DialogBlocks
> after my problem
&gt; appears but also the registered version didn't solve
>; it.
> I did follow the DialogBlocks "Getting started
&gt; guide"; to create my
> first app:
>
> 1. Setting up a frame
>; 2. Creating a modal dialog wich has a sizer as
> default
&gt; 3. Including a button
&gt; 4. Setting the dialog id as the main window value in
> frame properties
>
> While compiling I've got a warning about a unused
&gt; 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
>
>
>
>
>


Sheraz Javed
Zero One Solution
www.zeroone-solution.com

__________________________________________________
Do You Yahoo!?
Tired of spam? ; Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )