Search found 333 matches

by cutecode
Sat Oct 03, 2020 2:54 pm
Forum: C++ Development
Topic: how to get list of time zones
Replies: 2
Views: 118

how to get list of time zones

Can I in wxWidgets get list of names of all time zones, and their respective time offset?

Like this
https://en.wikipedia.org/wiki/List_of_t ... time_zones

I need only TZ name and time offset
Thank you
by cutecode
Sat Sep 05, 2020 10:06 pm
Forum: wxWidgets Development (Russian)
Topic: How to Privent wxFrame from Move and stay it maxsized
Replies: 5
Views: 422

Re: How to Privent wxFrame from Move and stay it maxsized

версия gtk3 стандартная в debian 10, и обновлять ее не хочу.
Ибо хочу сделать все программно, чтоб работало везде одинаково.

С wxMoveEvent все получилось
спасибо
by cutecode
Sat Sep 05, 2020 8:33 pm
Forum: wxWidgets Development (Russian)
Topic: How to Privent wxFrame from Move and stay it maxsized
Replies: 5
Views: 422

Re: How to Privent wxFrame from Move and stay it maxsized

Если использую ShowFullScreen(true); то вроде то что надо, но зато не могу открыть другие дочерние wxFrame, они прячутся за главной wxFrame если пишу так ShowFullScreen(true, wxFULLSCREEN_NOBORDER | wxFULLSCREEN_NOCAPTION); то опять же меню ведет себя снова как заголовок заметил что такое поведеение...
by cutecode
Fri Sep 04, 2020 8:23 am
Forum: wxWidgets Development (Russian)
Topic: How to Privent wxFrame from Move and stay it maxsized
Replies: 5
Views: 422

How to Privent wxFrame from Move and stay it maxsized

Создал киоск на линуксе с единственным приложением типа wxFrame. Убрал у него заголовок и убрал стиль для изменения его размера мышкой. Проблема теперь в том что menueBar ведет себя как заголовок, т.е. если схвачу его мышкой и начинаю тащить мышку, то окно перемещается и отображает рабочий стол. Раб...
by cutecode
Sun Aug 02, 2020 2:01 pm
Forum: C++ Development
Topic: PNG to BMP with white background
Replies: 2
Views: 131

Re: PNG to BMP with white background

Thank you!!!
by cutecode
Sun Aug 02, 2020 1:34 pm
Forum: C++ Development
Topic: PNG to BMP with white background
Replies: 2
Views: 131

PNG to BMP with white background

Why do I get black background instead of white background wxString x1 = L"c:\\tmp\\1.png"; wxString x2 = L"c:\\tmp\\2.bmp"; wxImage im; im.LoadFile(x1, wxBITMAP_TYPE_PNG); im.Replace(im.GetMaskRed(), im.GetMaskGreen(), im.GetMaskBlue(), 255, 255, 255); im.SaveFile(x2, wxBITMAP_TYPE_BMP); Thank you
by cutecode
Thu Jun 18, 2020 12:44 pm
Forum: wxWidgets Development (Russian)
Topic: AVAST ругается на wxmsw311u_webview_vc_custom.dll
Replies: 4
Views: 419

Re: AVAST ругается на wxmsw311u_webview_vc_custom.dll

Hello, Thank you for reporting this false positive. Our virus specialists have now cleared its reputation in our database. With URLs this change should be instant, but it might take up to 24 hours with files. For future reference you might also find the following article to be useful: Avast Clean G...
by cutecode
Thu Jun 18, 2020 7:40 am
Forum: wxWidgets Development (Russian)
Topic: AVAST ругается на wxmsw311u_webview_vc_custom.dll
Replies: 4
Views: 419

Re: AVAST ругается на wxmsw311u_webview_vc_custom.dll

MSVC - это visual C что ли? так я и пользуюсь Visual studio.

gcc не могу, т.к там есть еще проекты на MFC.

А всех клиентов уговорить уйти с avast проблематично
by cutecode
Wed Jun 17, 2020 7:59 pm
Forum: wxWidgets Development (Russian)
Topic: AVAST ругается на wxmsw311u_webview_vc_custom.dll
Replies: 4
Views: 419

AVAST ругается на wxmsw311u_webview_vc_custom.dll

У меня на винде 3 варианта компиляции wxwidgets 1. gcc 32bit 2. Visual studio 32bit 3. Visual studio 64bit и плюс в каждой варианты по debug и release wx 3.1.1 Но АВАСТ ругается именно на release от Visual studio 32bit, и ни на одну другую dll-шку он не ругается. Я конечно отправил этот файл в Лабор...
by cutecode
Sun Jun 14, 2020 4:37 pm
Forum: Platform Related Issues
Topic: gtk3 black wxFrame problem
Replies: 13
Views: 699

Re: gtk3 black wxFrame problem

Hello!

I installed wx on debian 10 with GTK3 build.

The above problem has gone.

Thanks to all for help !!!
by cutecode
Sun Jun 14, 2020 2:24 pm
Forum: wxCode
Topic: wxPdfDocument how to select wich version of GTK to use
Replies: 4
Views: 775

Re: wxPdfDocument how to select wich version of GTK to use

Tank you I used wx builds without prefixes ../configure --enable-shared --enable-unicode --with-gtk=2 I found wxPdfDocument configure switches --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH --with-wx-config=CONFIG wx-config script to use (optional) --with-wx-prefix=PREFIX Prefix wher...
by cutecode
Sun Jun 14, 2020 12:48 pm
Forum: wxCode
Topic: wxPdfDocument how to select wich version of GTK to use
Replies: 4
Views: 775

Re: wxPdfDocument how to select wich version of GTK to use

Hello! I build it with ./configure mkdir build-gtk [or any other suitable name] cd build-gtk ../configure [here you should use the same flags you used to configure wxWidgets] make if I run sudo update-alternatives --config wx-config I got error no altenatives for wx-config if I run wx-config --list ...
by cutecode
Sun Jun 14, 2020 10:37 am
Forum: wxCode
Topic: wxPdfDocument how to select wich version of GTK to use
Replies: 4
Views: 775

wxPdfDocument how to select wich version of GTK to use

I have installed wxWidgets with GTK2 and GTk3 on the same OS.
wxPdfDocument automatticaly compiles with GTK3.

How to make it to comple with GTK2?

Thank you
by cutecode
Thu Jun 11, 2020 9:49 pm
Forum: Platform Related Issues
Topic: wxCombo hangs on scrollbar move
Replies: 2
Views: 238

Re: wxCombo hangs on scrollbar move

Hello.

Shure, did not changed.
GTK version 3.22.11-1
by cutecode
Thu Jun 11, 2020 8:57 pm
Forum: Platform Related Issues
Topic: wxCombo hangs on scrollbar move
Replies: 2
Views: 238

wxCombo hangs on scrollbar move

wx-master GTK3 debian 9, tryed on all themes Please, see attached video with "combo" sample https://dental-soft.ru/1.mkv.tar.7z first method - good 1. droping list control down 2. moving scrolbar left/right 3. selecting an item 4. all OK second method - not good 1. droping list control down 2. movin...