Search found 38 matches

by mybofy
Tue Apr 25, 2023 5:27 pm
Forum: C++ Development
Topic: Menu Window de wxMenuBar Mac
Replies: 1
Views: 236

Menu Window de wxMenuBar Mac

Code tout simple: bool MyApp::OnInit() { ... wxMenuBar *menuBar = new wxMenuBar; wxMenuBar::MacSetCommonMenuBar(menuBar); ... } Dans le menu bar j'ai deux menus : - un avec comme intitulé le nom de l'application, OK - un deuxième intitulé "Window", totalement inutile, en tout cas pour moi ...
by mybofy
Fri Dec 18, 2020 3:24 pm
Forum: C++ Development
Topic: wxlisctrl sorting as in Excel
Replies: 2
Views: 313

wxlisctrl sorting as in Excel

Bonjour

In Excel I can sort globally a table by defining, for instance, one column (n° F), next column (n° B), next column (n°C).

It is possible to do the same in wxListCtrl ?

I don't finf anything nor in the wxWidgets documentation, nor on the net, nor elswhere...

Merci
by mybofy
Thu Oct 29, 2020 5:09 pm
Forum: Platform Related Issues
Topic: [Résolu]From macOs to Windows : encodage
Replies: 4
Views: 820

Re: From macOs to Windows : encodage

The method "save as..." works OK.

I cannot use the method ".editorconfig". I try to modify in distribution of wxWidgets and to build it. But nothing.

That is not a problem, as I have a solution.

Merci
by mybofy
Thu Oct 29, 2020 2:29 pm
Forum: Platform Related Issues
Topic: [Résolu]From macOs to Windows : encodage
Replies: 4
Views: 820

Re: From macOs to Windows : encodage

It works!

I have about 100 files.
It is a way to do that in one operation ?
by mybofy
Thu Oct 29, 2020 10:09 am
Forum: Platform Related Issues
Topic: [Résolu]From macOs to Windows : encodage
Replies: 4
Views: 820

[Résolu]From macOs to Windows : encodage

Bonjour macOS Catalina Xcode - windows 10 Visual Studio 2019 - C++ My application works well on Catalina. I have transfered my files from mac to windows via usb key. On mac all strings are showed correctly, ex : in the code "été" give été . On mac, I get été I have tried some things, but...
by mybofy
Thu Oct 22, 2020 3:28 pm
Forum: Platform Related Issues
Topic: Appli works well on macOS, but not working on Windows 10
Replies: 5
Views: 818

Re: Appli works well on macOS, but not working on Windows 10

Merci des explications.
I understand better my problems.

If I replace "wxClientDC dc(menu);" by "wxPaintDC dc(menu);" I obtain what I want.

It is correct ? Grand Merci

Other thing has to be changed ? Please explain.
by mybofy
Thu Oct 22, 2020 1:53 pm
Forum: Platform Related Issues
Topic: Appli works well on macOS, but not working on Windows 10
Replies: 5
Views: 818

Re: Appli works well on macOS, but not working on Windows 10

IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { SimpleMenu *menu = new SimpleMenu(wxT("Simple Menu")); menu->Show(true); //XML_Parser parser = XML_ParserCreate(NULL); // wxFrame* frame = new wxFrame(NULL, wxID_ANY, "ImagePanel"); // frame->Show(true); // wxPanel* panel = new wxPanel...
by mybofy
Thu Oct 22, 2020 9:43 am
Forum: Platform Related Issues
Topic: Appli works well on macOS, but not working on Windows 10
Replies: 5
Views: 818

Appli works well on macOS, but not working on Windows 10

Bonjour Catalina 10.15 - xCode 12 - wxWidgets 3.1.4 (experimenté) Windows 10.0.19041 - Visual Studio 2019 - wxWidgets 3.1.4 (novice) I developp my appli on macOS. The appli is a "desktop appli" standard for mac. There is about 10 menus, each with some sub-menus. The appli use wxWidgets of ...
by mybofy
Mon Sep 28, 2020 1:27 pm
Forum: Compiler / Linking / IDE Related
Topic: From macOs to Windows
Replies: 1
Views: 688

From macOs to Windows

Bonjour Very new in Windows, I would create on Windows my application wich works wery well on macOS. My first problem is : #include <wx/wx.h> fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory How to write this or how to include the headers of wxWidgets in visual studi...
by mybofy
Wed May 27, 2020 2:47 pm
Forum: C++ Development
Topic: Potential memory leak with : (void) new MyClass(...);
Replies: 1
Views: 387

Potential memory leak with : (void) new MyClass(...);

Bonjour wxWidgets 3.1.2 - xCode 11 In directory samples, I read : (void) new wxButton( this, ID_ADDBUTTON, "add button", wxPoint(10,10) ); It is convenient to instantiate a class without the need of giving a name to the instance (no warning "variable not used") That works for me ...
by mybofy
Mon Nov 11, 2019 10:55 am
Forum: Platform Related Issues
Topic: The "Hello World" Program
Replies: 2
Views: 856

The "Hello World" Program

Bonjour macOS 10.14 - wxWidgets 3.1.2 The "Hello World" Program (https://docs.wxwidgets.org/3.1.2/overview_helloworld.html) works well. But it is not conform the recommandation from Apple. I am searching the same program specifically coded for macOS. All examples I find content a wxFrame, ...
by mybofy
Sat Nov 09, 2019 4:48 pm
Forum: Platform Related Issues
Topic: Menus mac
Replies: 2
Views: 852

Menus mac

Bonjour

MacOS 10.14

A quoi sert la classe wxTopLevelWindowMac (pas documenté dans la doc officielle) ?
Faut-il l'utiliser et comment ?

Merci

Google Translation:
What is the wxTopLevelWindowMac class for (not documented in the official doc)?
Should it be used and how?
by mybofy
Sun Apr 07, 2019 3:55 pm
Forum: Platform Related Issues
Topic: Howto disable popup in wxtextctrl
Replies: 7
Views: 1773

Re: Howto disable popup in wxtextctrl

My last assumptions where good : wxWidgets was not concerned The problem is at the level of the management of the keyboard in macOS 14.14. Open  > System preferences > Keyboard > Text There is a kind of dictionnary with a list of words to remplace by ... The word Wherbarium was there ! I suppress i...
by mybofy
Sun Apr 07, 2019 9:21 am
Forum: Platform Related Issues
Topic: Howto disable popup in wxtextctrl
Replies: 7
Views: 1773

Re: Howto disable popup in wxtextctrl

Merci

I just send mail to wx-users.

The text sample : the m_text has the same behavior.
Nothing change when I add
wxSystemOptions::SetOption( wxMAC_TEXTCONTROL_USE_SPELL_CHECKER, 0 );
in init()
or
m_test->MacCheckSpelling(false);
in MyPanel::MyPanel

More ?
by mybofy
Tue Apr 02, 2019 3:22 pm
Forum: Platform Related Issues
Topic: Howto disable popup in wxtextctrl
Replies: 7
Views: 1773

Re: Howto disable popup in wxtextctrl

Merci

There somethings in wxSystemOptions

But nor
wxSystemOptions::SetOption( wxMAC_TEXTCONTROL_USE_SPELL_CHECKER, 0 );
nor
hostValue->MacCheckSpelling(false);
working.

A search on the net show this is mentionned : it should work ?