Search found 179 matches

by rocrail
Wed May 22, 2019 2:33 pm
Forum: C++ Development
Topic: wxTextCtrl: Switching on the fly from wrap to hscroll
Replies: 12
Views: 416

Re: wxTextCtrl: Switching on the fly from wrap to hscroll

Since which wxWidgets Version is this control available? 3.0?
by rocrail
Wed May 22, 2019 11:54 am
Forum: C++ Development
Topic: wxTextCtrl: Switching on the fly from wrap to hscroll
Replies: 12
Views: 416

Re: wxTextCtrl: Switching on the fly from wrap to hscroll

The on the fly WordWrap with the wxStyledTextCtrl does work.
I also could change the font to teletype.
But, how to highlight XML is a riddle to me...
by rocrail
Wed May 22, 2019 9:11 am
Forum: C++ Development
Topic: wxTextCtrl: Switching on the fly from wrap to hscroll
Replies: 12
Views: 416

Re: wxTextCtrl: Switching on the fly from wrap to hscroll

Thanks for that Tip!
wxStyledTextCtrl looks the right Control for this purpose. :)
by rocrail
Tue May 21, 2019 2:00 pm
Forum: C++ Development
Topic: wxTextCtrl: Switching on the fly from wrap to hscroll
Replies: 12
Views: 416

Re: wxTextCtrl: Switching on the fly from wrap to hscroll

Hi,
OK, but what purpose has the SetWindowStyleFlag function if it has more or less no effect?
by rocrail
Mon May 20, 2019 3:03 pm
Forum: C++ Development
Topic: wxTextCtrl: Switching on the fly from wrap to hscroll
Replies: 12
Views: 416

wxTextCtrl: Switching on the fly from wrap to hscroll

Hi, I'm looking for a way to switch between wrap and hsrcoll during the TextCtrl is visible. I tried this code: (m_XML is the wxTextCtrl) void XmlDlg::onWrap( wxCommandEvent& event ) { long style = m_XML->GetWindowStyleFlag(); if( m_Wrap->IsChecked() ) style |= wxTE_DONTWRAP; else style &= ~wxTE_DON...
by rocrail
Mon May 13, 2019 2:42 pm
Forum: Platform Related Issues
Topic: wxADJUST_MINSIZE in wx 3.1.3 (GIT master) error under Windows
Replies: 1
Views: 135

wxADJUST_MINSIZE in wx 3.1.3 (GIT master) error under Windows

Hi, I use the wxWidgets GIT master sources on both macOS and Windows 10. Compiling the same application under macOS and Windows 10 will end up under Windows 10 with an error that wxADJUST_MINSIZE is undefined. OK, but why only under Windows and not un der macOS. Is wxADJUST_MINSIZE obsolete? Should ...
by rocrail
Mon May 13, 2019 1:17 pm
Forum: Platform Related Issues
Topic: Windows 10 Dark Mode
Replies: 6
Views: 724

Re: Windows 10 Dark Mode

Hi,

the Windows setting is found here:
win10dark.png
The File Explorer, Calendar, ... does change its color automatically, but other common Apps like Wordpad does not.
by rocrail
Mon May 13, 2019 12:17 pm
Forum: Platform Related Issues
Topic: Windows 10 Dark Mode
Replies: 6
Views: 724

Windows 10 Dark Mode

Hi, under macOS the Desktop Dark Mode is also reflected in wxWidgets based applications. The same application remains 'Light mode' under Windows even if Windows has set Dark Mode. The diff between both builds is that under macOS the Git master is used, and under Windows wxWidgets release 3.0.3. Shou...
by rocrail
Wed May 08, 2019 8:11 am
Forum: C++ Development
Topic: Move Dialog or Frame on second monitor.
Replies: 3
Views: 160

Re: Move Dialog or Frame on second monitor.

Hi,

I'm developing under macOS 10.14 with wxWidget 3.1.3 (git master).

Yes, the Dialogs become in the constructor the parent.

Its no big deal to swap wxDialog to wxFrame for those few concerning Dialogs. In fact I already did. ;)
by rocrail
Wed May 08, 2019 6:26 am
Forum: C++ Development
Topic: Move Dialog or Frame on second monitor.
Replies: 3
Views: 160

Move Dialog or Frame on second monitor.

Hi, I'm experimenting with a second Monitor which increases the Desktop. My application saves Dialog and Frame positions, en move them to the previous position after restart. This works perfectly with AUI and Frames, but Dialogs always appear on the same monitor as the application. wxDialog and wxFr...
by rocrail
Wed Feb 13, 2019 2:38 pm
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found
Replies: 6
Views: 356

Re: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found

Thanks!
That did the trick.

So make clean and configure does not always get it straight.
by rocrail
Wed Feb 13, 2019 10:30 am
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found
Replies: 6
Views: 356

Re: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found

Yes, the stable version is OK.
The Git master was also OK until last week.
I use the master because of the Dark Theme support.
by rocrail
Tue Feb 12, 2019 12:25 pm
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found
Replies: 6
Views: 356

macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found

Hi, after a git pull, and a new configure command: ../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk --with-macosx-version-min=10.14 --enable-graphics_ctx --enable-monolithic --enable-compat...
by rocrail
Thu Feb 07, 2019 5:32 pm
Forum: C++ Development
Topic: AUI CaptionVisible does not seem to show any effect.
Replies: 9
Views: 235

Re: AUI CaptionVisible does not seem to show any effect.

It only works with docked panes.
OK, I noticed this by experimenting with the AUI sample.
But most of my panes are floating.
The idea was to hide the captions if all panes are in the wanted position.

The floating panes are wxMiniFrames? Could the title bar be hidden with those frames?