Search found 28 matches

by mimosa
Mon Mar 20, 2017 2:07 am
Forum: C++ Development
Topic: Can we customize wxFontPickerCtrl?
Replies: 1
Views: 685

Can we customize wxFontPickerCtrl?

wxWidgets 3.1.0 Win 10 64bit MingW64 4.3.0 Is there a way to customize the wxFontPickerCtrl such that it only shows Fonts from a selection of font family (say only wxFONTFAMILY_ROMAN, wxFONTFAMILY_SWISS, wxFONTFAMILY_TELETYPE for a start)? Also disabling some options like superscript, or bold. OpenG...
by mimosa
Mon Mar 06, 2017 7:47 am
Forum: Platform Related Issues
Topic: Compiling wxwidgets under Win 10
Replies: 8
Views: 4397

Re: Compiling wxwidgets under Win 10

I haven't try all the possibilities. It wasn't working if I completely omit these variables. One could try with the value for WinXP and see it it works I suppose.
by mimosa
Mon Mar 06, 2017 7:35 am
Forum: Platform Related Issues
Topic: Compiling wxwidgets under Win 10
Replies: 8
Views: 4397

Re: Compiling wxwidgets under Win 10

I solved it. I tried with the old MingW32 but it wasn't working. Also with TDM-GCC 64 it wasn't working, even though it did compile with what I'm about to share, compiling a project in Debug mode later (with TDM) would have cc1plus.exe to crash (heap problem perhaps?). Anyway, here is what I do to m...
by mimosa
Sun Feb 12, 2017 5:53 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing moolib_fontmap.o
Replies: 5
Views: 1239

Missing moolib_fontmap.o

wxWidgets 3.1.0 Win 10 64bit TDM64 GCC 5.1.0-tdm64-1 (32 & 64 bit) Trying to compile the library with this command line: mingw32-make -f makefile.gcc SHELL=CMD.exe BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 CXXFLAGS="-fno-keep-inline-dllexport" and get this error: ar: gcc_mswu\mooli...
by mimosa
Sat Feb 11, 2017 6:55 pm
Forum: Platform Related Issues
Topic: Compiling wxwidgets under Win 10
Replies: 8
Views: 4397

Re: Compiling wxwidgets under Win 10

I was able to get some more compiling done by forcing the option MONOLITHIC=0, so now the full command line: mingw32-make -f makefile.gcc SHELL=CMD.exe -j2 BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1 Then I get these errors after additional 15 minutes of compiling: g++: error: gccmswudll\coredll_c...
by mimosa
Sat Feb 11, 2017 6:32 pm
Forum: Platform Related Issues
Topic: Compiling wxwidgets under Win 10
Replies: 8
Views: 4397

Re: Compiling wxwidgets under Win 10

Not 100% sure I believe this error comes up when you have more than one GCC toolchain in the PATH. I would check what folders are in your PATH and make sure your TDM-GCC installation is the only one with GCC build tools there. I did verified that only C:\TDM-GCC\bin was in the path, and at the very...
by mimosa
Sat Feb 11, 2017 6:27 pm
Forum: Platform Related Issues
Topic: Compiling wxwidgets under Win 10
Replies: 8
Views: 4397

Re: Compiling wxwidgets under Win 10

I was able to get some compiling done by adding the option SHELL=CMD.exe, also added -j2 for multicore compiling (faster) Full command line tried: mingw32-make -f makefile.gcc SHELL=CMD.exe -j2 BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 Then I get these errors after 15 minutes of compiling: g++: ...
by mimosa
Sat Feb 11, 2017 9:58 am
Forum: Platform Related Issues
Topic: Compiling wxwidgets under Win 10
Replies: 8
Views: 4397

Compiling wxwidgets under Win 10

wxWidgets 3.1.0 Win 10 64bit TDM64 GCC 5.1.0-tdm64-1 (32 & 64 bit) trying to compile wxwidgets library with this config: mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 also if I try with adding CXXFLAGS="-std=gnu++11" and get this error: process_begin: Creat...
by mimosa
Tue Feb 17, 2015 3:58 am
Forum: Platform Related Issues
Topic: Compiling wxwidgets under OSX Yosemite
Replies: 3
Views: 4021

Re: Compiling wxwidgets under OSX Yosemite

Thanks. The key was this option:
--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/
and more specifically the version 10.9. Probably because wxWidgets 3.0.2 has not been updated for the OSX 10.10 yet. Thanks again.
by mimosa
Fri Jan 30, 2015 4:44 am
Forum: Platform Related Issues
Topic: wxGLCanvas and EVT_SIZE
Replies: 2
Views: 865

Re: wxGLCanvas and EVT_SIZE

In addition, it only does that under Windows. In Linux it is fine.
by mimosa
Fri Jan 30, 2015 2:24 am
Forum: Platform Related Issues
Topic: wxGLCanvas and EVT_SIZE
Replies: 2
Views: 865

wxGLCanvas and EVT_SIZE

Hi wxWidgets version: 3.0.2 platform/OS: Windows 7 64 bit compiler: mingw32-gcc I have a wxPanel with a wxGLCanvas base class. I built the whole class and drawing opengl works really well. It is using the wxGLContext* m_context just like found in examples online. There is issue when I resize the win...
by mimosa
Mon Jan 12, 2015 10:06 pm
Forum: Platform Related Issues
Topic: Flickering on resize with a wxStatusbar in a wxFrame
Replies: 5
Views: 2561

Re: Flickering on resize with a wxStatusbar in a wxFrame

As you saw on the first question above, the wxWidgets version I am using is the latest 3.0.2
by mimosa
Tue Jan 06, 2015 6:32 pm
Forum: Platform Related Issues
Topic: Flickering on resize with a wxStatusbar in a wxFrame
Replies: 5
Views: 2561

Re: Flickering on resize with a wxStatusbar in a wxFrame

I tried putting this line after "SetStatusBar(StatusBar1);" :

Code: Select all

StatusBar1->SetSize(wxDefaultSize, wxSIZE_AUTO_HEIGHT);
and still flickers.
by mimosa
Tue Jan 06, 2015 12:41 am
Forum: Platform Related Issues
Topic: Flickering on resize with a wxStatusbar in a wxFrame
Replies: 5
Views: 2561

Flickering on resize with a wxStatusbar in a wxFrame

Hi wxWidgets version: 3.0.2 platform/OS: Windows 7 64 bit compiler: mingw32-gcc My main window is a wxFrame with a wxStatusbar at the bottom. I split the main wxFrame vertically with 2 panels. When I resize the main frame, there is a zone at the top of the main frame (right below the menu bar, where...
by mimosa
Fri Dec 19, 2014 9:23 pm
Forum: General Development
Topic: wxGLCanvas with glut under Linux
Replies: 4
Views: 2984

Re: wxGLCanvas with glut under Linux

I got the wxGLString class wrapper and get it to work, this thing is quite golden. I however got trouble if I render the string within a display list (maybe because the wxGLString is using the PaintDC, I'm not sure). Otherwise this class is a good addition to the wx arsenal. It should be submitted t...