Search found 469 matches

by New Pagodi
Wed Mar 01, 2017 10:59 pm
Forum: Compiler / Linking / IDE Related
Topic: compiler for windows 7 64 bits
Replies: 6
Views: 2672

Re: compiler for windows 7 64 bits

joemaniaci wrote:How do you even know you created 64-bit binaries?
One way to do is to use dumpbin as described in the second answer here.
by New Pagodi
Tue Feb 28, 2017 6:34 pm
Forum: C++ Development
Topic: Does wxAuiNotebook allow split view of one text file?
Replies: 4
Views: 1395

Re: Does wxAuiNotebook allow split view of one text file?

Hi, I am trying to implement a wxAuiNotebook control which manages a wxStyledTextCtrl in each tab. I see the question has already been answere, but I thought I'd mention that wxStyledTextCtrl has the ability to handle multiple documents. The relevant methods are CreateDocument(), SetDocPointer(), a...
by New Pagodi
Thu Feb 16, 2017 1:36 pm
Forum: Compiler / Linking / IDE Related
Topic: wxwidget linking with codeblocks
Replies: 4
Views: 1564

Re: wxwidget linking with codeblocks

I've never seen anything like that and have no idea what could be causing it. You might want to ask about it on the codeblocks forum.
by New Pagodi
Sat Jan 28, 2017 3:12 pm
Forum: C++ Development
Topic: Question about a GUI element
Replies: 2
Views: 945

Re: Question about a GUI element

I wrote a control called wxAccordion that something like that.
by New Pagodi
Sun Jan 15, 2017 8:45 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile wxWidgets in static codeblocks, shared=0
Replies: 4
Views: 2795

Re: Compile wxWidgets in static codeblocks, shared=0

It already works but I would like to know more: What is Use_WXDEBUG_and Debug wxwidgets lib ? I don't know. I've never used any of the options on the advanced settings page. And if I do not add the libraries when I create the project, will Codeblocks guide me to add the libraries when I add a funct...
by New Pagodi
Sat Jan 14, 2017 7:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile wxWidgets in static codeblocks, shared=0
Replies: 4
Views: 2795

Re: Compile wxWidgets in static codeblocks, shared=0

Is there a reason you're trying to link with lwxmsw30u_dbgrid, lwxbase30u_odbc, and lwxmsw30u_qa? If not, try removing those from the list of libraries to link with. ODBC was remove a while ago, I don't remember if it was still available on 3.0 or not. I don't know what dbgrid is. I just noticed tha...
by New Pagodi
Mon Dec 26, 2016 4:21 pm
Forum: C++ Development
Topic: Can't catch any wxMouseEvent on wxDataViewCtrl
Replies: 2
Views: 757

Re: Can't catch any wxMouseEvent on wxDataViewCtrl

According to the documentation : Notice that this control doesn't allow to process generic mouse events such as wxEVT_LEFT_DOWN in all ports (notably it doesn't work in wxGTK). If you need to handle any mouse events not covered by the ones above, consider using a custom renderer for the cells that m...
by New Pagodi
Mon Dec 12, 2016 5:58 am
Forum: Compiler / Linking / IDE Related
Topic: Building 32bit wxWidgets libraries with tdm64
Replies: 2
Views: 1591

Building 32bit wxWidgets libraries with tdm64

TL/DNR version : I think it would be possible to build 32 bit libraries with tdm64 if you could pass extra flags to windres. Is there any way to do that with mingw32-make? Longer version : Following up on this thread, I was wondering if its possible to make 32bit libraries with tdm64. I tried with ...
by New Pagodi
Mon Dec 12, 2016 5:27 am
Forum: Compiler / Linking / IDE Related
Topic: mingw/tdm-gcc lib locations
Replies: 3
Views: 1501

Re: mingw/tdm-gcc lib locations

As sort of a followup while investigating these things, I compared the visual studio and gcc make files. With visual studio, the output folder is set in wx_setup.props with the line: <wxOutDirName>$(wxCompilerPrefix)$(wxArchSuffix)_$(wxLibTypeSuffix)$(wxCfg)</wxOutDirName> while in the gcc make file...
by New Pagodi
Mon Dec 12, 2016 5:21 am
Forum: Compiler / Linking / IDE Related
Topic: mingw/tdm-gcc lib locations
Replies: 3
Views: 1501

mingw/tdm-gcc lib locations

While trying to help with some other mingw/tdm-gcc questions, I've been trying doing some experiments with tdm64-gcc-5.1.0-2. At some point, I realized that I wasn't exactly sure what I was building. The libraries were being placed in lib\gcc_dll, so I assumed they were 32 bit libraries. But while u...
by New Pagodi
Sun Dec 11, 2016 2:48 am
Forum: Compiler / Linking / IDE Related
Topic: Unable to build wxwidgets on windows 10 with mingw/gcc
Replies: 8
Views: 3540

Re: Unable to build wxwidgets on windows 10 with mingw/gcc

That seems like it should work. Which version of mingw are you using? Are you using the mingw command prompt or a generic command prompt?
by New Pagodi
Sat Dec 10, 2016 12:32 pm
Forum: C++ Development
Topic: How to change tab colour of wxAuiNotebook??
Replies: 4
Views: 2329

Re: How to change tab colour of wxAuiNotebook??

You'll have to derive a class from wxAuiTabArt and then call SetArtProvider() with an object of that class. I don't think there are any examples, but you can look at the source files src\aui\tabart.cpp, src\aui\tabartgtk.cpp, and src\aui\tabartmsw.cpp to see what's involved. Looking at the documenta...
by New Pagodi
Sat Dec 10, 2016 2:38 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot find -lwxmsw30
Replies: 4
Views: 1988

Re: Cannot find -lwxmsw30

I created new project, checked "Enable unicode" in a process. Replaced libwxmsw30.a entries with libwxbase30u.a (because I don't have libwxbase30u.a) an project compiled successfully. My make command: mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release CXXFLAGS=-std=gnu+11 had t...
by New Pagodi
Fri Dec 09, 2016 2:36 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot find -lwxmsw30
Replies: 4
Views: 1988

Re: Cannot find -lwxmsw30

Starting with wxWidgets 3.0, the default build option for the library is to use unicode. So the library you need to like to is libwxmsw30 u .a To do this in codeblocks, on the page of the wizard that says "please select various configuration options", you need to make sure "Enable uni...