Search found 36 matches

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

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: 213

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: 213

[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 no succes...
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: 272

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: 272

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(frame, wxID_ANY); w...
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: 272

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 course, pq...
by mybofy
Mon Sep 28, 2020 1:27 pm
Forum: Compiler / Linking / IDE Related
Topic: From macOs to Windows
Replies: 1
Views: 285

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: 198

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 in xCode. But, when ...
by mybofy
Mon Nov 11, 2019 10:55 am
Forum: Platform Related Issues
Topic: The "Hello World" Program
Replies: 2
Views: 421

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, which is s...
by mybofy
Sat Nov 09, 2019 4:48 pm
Forum: Platform Related Issues
Topic: Menus mac
Replies: 2
Views: 457

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: 938

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: 938

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: 938

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 ?
by mybofy
Tue Apr 02, 2019 1:50 pm
Forum: Platform Related Issues
Topic: Howto disable popup in wxtextctrl
Replies: 7
Views: 938

Howto disable popup in wxtextctrl

Bonjour macOS 14.14 - wxwidgets 3.1.2 hostValue = new wxTextCtrl(panel0, ID_Host, wxEmptyString); When I enter a text which is the same as the name of my application in lowercase, I have a popup which propose the text with the fisrt letter in uppercase ! It is not very important, but it is very anno...
by mybofy
Fri Feb 01, 2019 4:30 pm
Forum: C++ Development
Topic: wxDefaultDateTime.IsValid() == false
Replies: 1
Views: 255

wxDefaultDateTime.IsValid() == false

Bonjour

wxwidgets 3.1.2

Why "wxDefaultDateTime.IsValid()" is always false ?

Value of wxDefaultDateTime is : 292278994-08-16_17-47-04 !!!

Merci