Search found 102 matches

by deepti
Tue Sep 04, 2018 7:02 pm
Forum: C++ Development
Topic: Destroy call on wxHyperlinkCtrl crashes the application
Replies: 6
Views: 224

Re: Destroy call on wxHyperlinkCtrl crashes the application

Great!! Thanks a lot, my savior! :D
by deepti
Tue Sep 04, 2018 7:00 pm
Forum: C++ Development
Topic: wxEditableListBox - border issue
Replies: 3
Views: 235

wxEditableListBox - border issue

Hi, I have a wxEditableListBox, which looks like the screenshot below. Is there a way the border drawn can be changed? The box containing the New, Edit and Delete buttons looks like it can be edited! But in reality, it is just for displaying the label. Can i change that border to a non-3D border? Pl...
by deepti
Tue Sep 04, 2018 6:56 pm
Forum: C++ Development
Topic: Destroy call on wxHyperlinkCtrl crashes the application
Replies: 6
Views: 224

Re: Destroy call on wxHyperlinkCtrl crashes the application

The hyperlink is not the child of the pane. It is a sibling, in the sense the pane and hyperlink are both in the same sizer.
Will just hiding the hyperlink help in my case? Once the dialog is closed, any control which has not been explicitly destroyed will anyway be destroyed automatically, isn't it?
by deepti
Tue Sep 04, 2018 6:51 pm
Forum: C++ Development
Topic: Destroy call on wxHyperlinkCtrl crashes the application
Replies: 6
Views: 224

Re: Destroy call on wxHyperlinkCtrl crashes the application

Thank you @doublemax.
Use wxAppConsole::ScheduleForDestruction to destroy the pane:
Are you referring to scheduling the destruction of the "Remove" hyperlink here?
by deepti
Tue Sep 04, 2018 5:51 pm
Forum: C++ Development
Topic: Can we get handle to wxDialog from its ID?
Replies: 2
Views: 188

Can we get handle to wxDialog from its ID?

Hi,

Is it possible to get the handle/pointer to a wxDialog, if it's ID is known?
I need a way to close a dialog from another dialog which knows the former's ID.

Thanks in advance!
by deepti
Tue Sep 04, 2018 5:37 pm
Forum: C++ Development
Topic: Destroy call on wxHyperlinkCtrl crashes the application
Replies: 6
Views: 224

Destroy call on wxHyperlinkCtrl crashes the application

Hi All, I have an instance of a wxScrolledWindow, which contains several wxBoxSizer instances. Each wxBoxSizer contains a wxCollapsiblePane and a wxHyperlinkCtrl ("Remove" link). Please refer to attachment. That is how it looks like. When the "Remove" hyper-link is clicked, the wxCollapsiblePane ass...
by deepti
Tue Aug 28, 2018 5:30 am
Forum: Platform Related Issues
Topic: Tooltip not working on Mac
Replies: 5
Views: 412

Re: Tooltip not working on Mac

So, it is actually an Information icon, which when hovered over, will provide more info about the control it is associated with. The wxGenericStaticBitmap also didn't work - tool-tips are not shown still. Anything else I could try? This is important, and the usage cannot be changed since that is how...
by deepti
Mon Aug 27, 2018 5:40 pm
Forum: Platform Related Issues
Topic: Tooltip not working on Mac
Replies: 5
Views: 412

Re: Tooltip not working on Mac

Hi, Thanks for your reply. 1. wx version is 3.1.0 2. OS is Mac High Sierra 10.12 3. wx was configured using the following command: ./configure --disable-shared --enable-unicode --with-libjpeg=builtin --with-libpng=builtin --with-cocoa CXXFLAGS="-std=c++11 -stdlib=libc++ " OBJCXXFLAGS="-std=c++11 -st...
by deepti
Mon Aug 27, 2018 3:08 pm
Forum: C++ Development
Topic: wxRichTextCtrl - loading HTML file is not working
Replies: 3
Views: 193

Re: wxRichTextCtrl - loading HTML file is not working

Oops! okay..
but is there any other way to get HTML content into a wxRichTextCtrl?
by deepti
Mon Aug 27, 2018 2:28 pm
Forum: C++ Development
Topic: wxRichTextCtrl - loading HTML file is not working
Replies: 3
Views: 193

wxRichTextCtrl - loading HTML file is not working

Hi All, Need yet another help badly! I have a wxRichTextCtrl instance, into which i need to load HTML contents, saved in the file "mail.html". This is code i have, but it says "File could not be loaded", and the wxRichTextCtrl remains empty. What wrong am i doing? Please help! wxRichTextCtrl* richTe...
by deepti
Mon Aug 27, 2018 10:34 am
Forum: Platform Related Issues
Topic: Tooltip not working on Mac
Replies: 5
Views: 412

Tool-tip not working on Mac

Hi All, I have this piece of code. The tool-tip is seen perfectly on Windows, but it just does not show up on Mac.. Please help! wxStaticBitmap* infoBmp = new wxStaticBitmap(win, wxID_STATIC, wxBitmap("./info.png", wxBITMAP_TYPE_PNG), wxDefaultPosition, wxSize(16, 16), 0); infoBmp->SetToolTip(str);
by deepti
Mon Aug 27, 2018 10:32 am
Forum: Platform Related Issues
Topic: wxStaticBox on Mac shows "Title" even when label is set to empty
Replies: 5
Views: 424

Re: wxStaticBox on Mac shows "Title" even when label is set to empty

I just used the code in the patch and it worked.. Thanks a lot!
by deepti
Mon Aug 27, 2018 5:16 am
Forum: Compiler / Linking / IDE Related
Topic: wxRichTextCtrl - unresolved external symbols (Urgent help needed!!)
Replies: 4
Views: 459

Re: wxRichTextCtrl - unresolved external symbols (Urgent help needed!!)

Hi PB, thanks for your reply. I have the same project settings for the Release mode as well. But it gives the same "unresolved symbols" error in the release build as well. If you are using MSVC, I suggest not adding individual libraries by hand to the linker settings, instead just prepend $(WXWIN)\i...