Search found 1286 matches

by PB
Sat Oct 21, 2017 5:42 am
Forum: General Development
Topic: WebView::GetPageSource() returns original HTML
Replies: 5
Views: 84

Re: WebView::GetPageSource() returns original HTML

FWIW, I did a simple test: 1. I launched the webview sample and loaded http://www.example.com page. 2. I checked that both source and text of the page match the page content (using sample menu commands View Source and View Text) 3. I checked Edit Mode in Menu/Edit, selected the "white box"...
by PB
Tue Oct 17, 2017 9:43 am
Forum: C++ Development
Topic: I want to develop some new function in wxwidgets ,but i don't know how [SOLVED]
Replies: 5
Views: 66

Re: I want to develop some new function in wxwidgets ,but i don't know how [SOLVED]

What I want just to negotiate with the developers (in wx-dev group) ,but I don't know how to find them. You can find the wxWidgets mailing lists here: http://wxwidgets.org/support/mailing-lists/ the biggest problem is thread safe ,but i know how to solve this. Are you sure about it: in wxWidgets al...
by PB
Tue Oct 17, 2017 6:41 am
Forum: C++ Development
Topic: I want to develop some new function in wxwidgets ,but i don't know how [SOLVED]
Replies: 5
Views: 66

Re: I want to develop some new function in wxwidgets ,but i don't know how [SOLVED]

My 2 cents: First step should be asking the developers (in wx-dev group) whether they are interested in adding such a functionality into wxWidgets. The proposal regarding the implementation should be much more specific than what you wrote in the OP. IMO, adding this would not be a good fit for wxWid...
by PB
Sun Oct 15, 2017 3:23 pm
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo
Replies: 9
Views: 118

Re: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo

Just curious: If you use C++'s dynamic_cast instead of wxDynamicCast, does your application build and run as expected?

BTW, the linker-reported issue is with wxGridCellEditorEvtHandler::ms_classInfo, so it should have nothing to do with your editor class.
by PB
Sun Oct 15, 2017 8:16 am
Forum: C++ Development
Topic: UUID DataType
Replies: 4
Views: 99

Re: UUID DataType

I am not familiar with the library linked above by doublemax, but it should work on all versions of Windows, as it states it is using CoCreateGuid() function which is available on all modern(ish) Windows.... For example, Boost has an UUID class: http://www.boost.org/doc/libs/1_65_1/libs/uuid/uuid.ht...
by PB
Tue Oct 10, 2017 12:14 pm
Forum: Platform Related Issues
Topic: Performance issue after migration [SOLVED]
Replies: 8
Views: 138

Re: Performance issue after migration [SOLVED]

FWIW, you can check here for a workaround if you are using a buffered DC and experiencing a major slowdown:
http://trac.wxwidgets.org/ticket/14403#comment:45, not sure if it is relevant to your case and which wxWidgets versions are actually affected.
by PB
Sun Oct 08, 2017 6:52 pm
Forum: Compiler / Linking / IDE Related
Topic: Hello World?
Replies: 5
Views: 117

Re: Hello World?

Setup.h is in a folder on it's own: D:\CODE\# wxWidgets\wxWidgets-3.1.0(1)\include\msvc\wx That is not the setup.h file that is an issue. I meant the configuration (release, debug...) specific one, which is copied after the wxWidgets configuration has been successfully built. E.g., if you plan on u...
by PB
Sun Oct 08, 2017 3:50 pm
Forum: Compiler / Linking / IDE Related
Topic: Hello World?
Replies: 5
Views: 117

Re: Hello World?

First, do not add the setup.h file to your project properties, this is wrong and just an attempt to work around the real problem.. You did not post the most important information, i.e., the configuration you are trying to build and your compiler and linker paths. Assuming system environment variable...
by PB
Thu Sep 28, 2017 6:30 pm
Forum: C++ Development
Topic: How to make such a layout
Replies: 4
Views: 162

Re: How to make such a layout

Out of curiousity, I have tried to make (using wxFormBuilder) a design similar to the font dialog in Notepad but with comboboxes for font and font style growable in both directions. It visually glitches heavily when resizing, vertically in particular. But it is possible (likely?) I have done somethi...
by PB
Wed Sep 27, 2017 6:07 am
Forum: C++ Development
Topic: text file and 8859-2 encoding [SOLVED]
Replies: 3
Views: 77

Re: text file and 8859-2 encoding

Using wxCSConv with wxTextFile::Write works as expected for me: #include <wx/wx.h> #include <wx/textdlg.h> #include <wx/textfile.h> class MyApp : public wxApp { public: bool OnInit() { wxTextEntryDialog dlg(NULL, "Input text"); if ( dlg.ShowModal() != wxID_OK || dlg.GetValue().empty() ) re...
by PB
Wed Sep 20, 2017 4:36 pm
Forum: C++ Development
Topic: wxDynamicLibrary Load used to work
Replies: 18
Views: 359

Re: wxDynamicLibrary Load used to work

I would still suggest to take the issue to the library vendor, starting with the library documentation though.
by PB
Wed Sep 20, 2017 5:26 am
Forum: C++ Development
Topic: Unexpected change of value of data transfer variable [SOLVED]
Replies: 24
Views: 477

Re: Unexpected change of value of data transfer variable [SOLVED]

You could try to reshuffle the code a bit. E.g., in the code you posted before, you pasted the string as "wxString", you could try changing it to "const wxString &". You can also try turning the optimization off only for that source file but I would rather try a new compiler,...
by PB
Tue Sep 19, 2017 8:04 pm
Forum: C++ Development
Topic: Unexpected change of value of data transfer variable [SOLVED]
Replies: 24
Views: 477

Re: Unexpected change of value of data transfer variable [SOLVED]

While compiler bugs do exist, it is still much more likely that the issue is in the user code. But if you believe that compiler optimizations are to blame, did you try to turn them off (/Od) or change them (e.g. /O1 vs /O2) in the project settings (C++/Optmization) to see if it changes anything?
by PB
Tue Sep 19, 2017 8:20 am
Forum: C++ Development
Topic: SpinCtrl->GetValue() makes the program crash
Replies: 5
Views: 100

Re: SpinCtrl->GetValue() makes the program crash

Hm, ok I can provide more information... maybe that helps: If I use the same code... SpinCtrl[3]->GetValue(); ...at the end of my dialog constructor (after the loops for creating all the elements) it works flawlessly. The program only crashes if I use the same code in the BitmapButton handler. So t...
by PB
Tue Sep 19, 2017 5:33 am
Forum: C++ Development
Topic: SpinCtrl->GetValue() makes the program crash
Replies: 5
Views: 100

Re: SpinCtrl->GetValue() makes the program crash

When a code crashes, you are expected to post a crash message as well as a stack backtrace. When the code crashes accessing a pointer, it is a good chance that the pointer in question is invalid. Or in your case, the index you are using to access the control in the SpinCtrl array is wrong... Sorry, ...

Go to advanced search