Search found 378 matches
- Tue Mar 09, 2021 4:49 pm
- Forum: wxWidgets Development (Russian)
- Topic: WebView и google.ru login
- Replies: 2
- Views: 336
WebView и google.ru login
Приветствую! Из примера WebView в samples не могу залогиниься в google.ru. Выдает ошибку Попробуйте сменить браузер. Если вы уже используете поддерживаемый браузер, обновите страницу и попробуйте войти ещё раз. Хотя в других браузерах такой ошибки нет. Можно ли как то обойти эту проблему? Спасибо
- Sat Feb 13, 2021 9:57 am
- Forum: wxWidgets Development (Russian)
- Topic: wxString to cp866
- Replies: 2
- Views: 626
Re: wxString to cp866
doublemax!
Grate Thanks!!!
Grate Thanks!!!
- Fri Feb 12, 2021 6:46 pm
- Forum: wxWidgets Development (Russian)
- Topic: wxString to cp866
- Replies: 2
- Views: 626
wxString to cp866
Подскажите как перевести wxString to char* cp866
спасибо
спасибо
- Fri Jan 15, 2021 6:44 am
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
Does that code prevent the high CPU load? If yes, you could try to use wxRecursionGuard to do the same. https://docs.wxwidgets.org/trunk/classwx_recursion_guard.html Yes, it prevents, but it overlods for some seconds at startup of aplication. It seems to me I found a solution adding one more flag v...
- Fri Jan 15, 2021 6:37 am
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
- Thu Jan 14, 2021 10:26 pm
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
see this
Code: Select all
OnFrameMove2
1x27
OnFrameMove
0x0
OnFrameMove
- Thu Jan 14, 2021 10:08 pm
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
The only solution I see, is setting the flag twice. Just tested on windows, move event is called twice too, after setting SetPissition() wxPoint pt(0, 0); m_nIsMoving++; SetPosition(pt); m_nIsMoving++; } } void MyFrame::OnFrameMove(wxMoveEvent& event) { if(m_nIsMoving > 0) { m_nIsMoving--; return; }...
- Thu Jan 14, 2021 9:46 pm
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
This won't help.
After calling SetPosition() - OnFrameMove() is called twice.
The first time immediately after calling SetPosition(), and second time after exiting from OnFrameMove2()
Not sure if this behaver would be all linux distributions
After calling SetPosition() - OnFrameMove() is called twice.
The first time immediately after calling SetPosition(), and second time after exiting from OnFrameMove2()
Not sure if this behaver would be all linux distributions
- Thu Jan 14, 2021 12:36 am
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
yes, you can check it on my demo virtual server.
Ther's no titlebar, but menuebar behaves like captionbar
https://dentasoft.ru/download.php
Thank you
Ther's no titlebar, but menuebar behaves like captionbar
https://dentasoft.ru/download.php
Thank you
- Wed Jan 13, 2021 10:50 pm
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
As sugested here https://forums.wxwidgets.org/viewtopic.php?f=1&t=26794&p=114388&hilit=wxMoveEvent#p114388 I set timer for every wxMoveEvent This code is working, and prcessor is taking 85% only for 5-10 seconds void MyFrame::OnFrameMove2() { printf("OnFrameMove2\n"); int x, y; GetPosition(&x, &y); ...
- Wed Jan 13, 2021 10:17 pm
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
no,
After setting possition to (0, 0)
the real possition is set to (6, 43)
linux gtk3
After setting possition to (0, 0)
the real possition is set to (6, 43)
linux gtk3
- Wed Jan 13, 2021 9:50 pm
- Forum: wxWidgets Development (Russian)
- Topic: How to Privent wxFrame from Move and stay it maxsized
- Replies: 20
- Views: 1634
Re: How to Privent wxFrame from Move and stay it maxsized
Обнаружил проблему с wxMoveEvent Прога "жрет" процессор на 100%. оказалось, что при установке позиции окна в wxPoint(0, 0) опять вызывается wxMoveEvent, и так все в цикле один вызов вызывает другой вызов рекурсивно. Как лучше предотвращать перемещения окна? void MyFrame::OnFrameMove2() { wxPoint pt(...
- Mon Dec 14, 2020 7:59 pm
- Forum: C++ Development
- Topic: КРАС to wxString
- Replies: 4
- Views: 342
Re: КРАС to wxString
hello!
Now I got this string from onother server.
How to convert it to wxString?
wxHtmlEntitiesParser - dit not help
Thank you
Now I got this string from onother server.
Code: Select all
"\u041d\u0435\u0442 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430"
wxHtmlEntitiesParser - dit not help
Thank you
- Fri Dec 04, 2020 9:28 am
- Forum: wxCode
- Topic: wxPdfDC - DrawRectangle() uses black pen instead of mine
- Replies: 6
- Views: 908
Re: wxPdfDC - DrawRectangle() uses black pen instead of mine
Greate thanks for your job.
- Thu Dec 03, 2020 11:30 pm
- Forum: wxCode
- Topic: wxPdfDC - DrawRectangle() uses black pen instead of mine
- Replies: 6
- Views: 908
Re: wxPdfDC - DrawRectangle() uses black pen instead of mine
Thank you, now it is ok. But now I have an assertion ASSERT INFO: ../src/common/unichar.cpp(52): assert ""Assert failure"" failed in FromHi8bit(): invalid multibyte character BACKTRACE: [1] wxUniChar::FromHi8bit(char) [2] wxPdfEncrypt::CreateDocumentId() [3] wxPdfDocument::PutTrailer() [4] wxPdfDocu...