Search found 289 matches
- Sun Nov 22, 2020 8:11 am
- Forum: C++ Development
- Topic: Why does this wxRichTextCtrl load files as read-only?
- Replies: 2
- Views: 178
Re: Why does this wxRichTextCtrl load files as read-only?
For some reason it's not working because your ID isn't wxID_ANY. Change to it as workaround. If there won't be answer from more competent users than I - open ticket in bugtracker - http://trac.wxwidgets.org
- Sat Nov 21, 2020 9:16 am
- Forum: Open Discussion
- Topic: any Discord or Slack channel so that we can easily chat?
- Replies: 5
- Views: 936
Re: any Discord or Slack channel so that we can easily chat?
I know only one C++ Slack, but there isn't wxWidgets channel. But as I see from practice lib-related channels(like SFML and Poco) usually not very active. So use this forum 

- Thu Nov 19, 2020 9:15 pm
- Forum: C++ Development
- Topic: wxSlider SetValue() doesn't reposition the slider
- Replies: 21
- Views: 688
Re: wxSlider SetValue() doesn't reposition the slider
So calling "parent->GetEventHandler()->AddPendingEvent()" in the thread is a no-no? That is the only call into the windowing system made in the thread. Art Yes, it's written in the documentation This function is similar to QueueEvent() but can't be used to post events from worker threads for the ev...
- Thu Nov 19, 2020 8:48 pm
- Forum: C++ Development
- Topic: Weird border around the first column header of wxGrid
- Replies: 2
- Views: 178
Re: Weird border around the first column header of wxGrid
Is there any chance that you on Linux Mint?
It seems that you have same behaviour as in this topic - wxGrid lines missing
If it is so - report bug at http://trac.wxwidgets.org
It seems that you have same behaviour as in this topic - wxGrid lines missing
If it is so - report bug at http://trac.wxwidgets.org
- Mon Nov 16, 2020 9:54 pm
- Forum: C++ Development
- Topic: Clearing KeyPress Queue
- Replies: 10
- Views: 320
Re: Clearing KeyPress Queue
I'm basically trying to create that minigame you get on Chrome when you don't have internet. My goal was to create a little game really fast so that I could could a genetic algorithm for it. When I don't have internet I usually read or listen book and don't play any game especially in Chrome :D I h...
- Mon Nov 16, 2020 9:31 pm
- Forum: wxWidgets Development (Russian)
- Topic: Проблемы с русскими буквами и клавишами стрелок
- Replies: 40
- Views: 1259
Re: Проблемы с русскими буквами и клавишами стрелок
На украинский - как на русский. Те же глюки... В CodeBlocks, CodeLite и в примерах к wxWidgets... Давайте попробуем как будет реагировать на смену локалей. Запустите пример internat из папки samples из wxWidgets и протестируйте на не-английских локалях (русская, японская, арабская). Текстбокс можно...
- Mon Nov 16, 2020 6:49 pm
- Forum: wxWidgets Development (Russian)
- Topic: Проблемы с русскими буквами и клавишами стрелок
- Replies: 40
- Views: 1259
Re: Проблемы с русскими буквами и клавишами стрелок
Результат не изменился это что значит?
Как реагируют Codelite и CodeBlocks на другие языки?
Как реагируют Codelite и CodeBlocks на другие языки?
- Mon Nov 16, 2020 5:47 pm
- Forum: C++ Development
- Topic: Simulatiing wxCloseEvent and wxMouseEvent
- Replies: 4
- Views: 229
Re: Simulatiing wxCloseEvent and wxMouseEvent
I think it could be useful in testing or some demo application where one imitating user actions. In the documentation is ProcessWindowEvent used with custom events so I would use it instead.
- Mon Nov 16, 2020 5:41 pm
- Forum: wxWidgets Development (Russian)
- Topic: Проблемы с русскими буквами и клавишами стрелок
- Replies: 40
- Views: 1259
Re: Проблемы с русскими буквами и клавишами стрелок
Если раньше работало, а теперь перестало, то скорее всего проблема не в библиотеке. Попробуйте посмотреть что будет, если поставить еще какой-нибудь языковой пакет.
- Mon Nov 16, 2020 12:17 pm
- Forum: C++ Development
- Topic: Clearing KeyPress Queue
- Replies: 10
- Views: 320
Re: Clearing KeyPress Queue
If it's indeed simple game(like Minesweeper) you could use wxWidgets for it. But for more advance game consider using more suit tools like SFML.
What game do you writing? As for me code from link above is quite simple for understanding.
What game do you writing? As for me code from link above is quite simple for understanding.
- Tue Nov 10, 2020 10:47 pm
- Forum: C++ Development
- Topic: Updating OBJ Vars in Threads
- Replies: 12
- Views: 359
Re: Updating OBJ Vars in Threads
For the synchronization, I have i Timer in the Frame that check for new file updated, if there is one or more, the function check the specific Thread of the ITF OBJ if is busy with other parsing, if it is free, I add the file to be parsed. Together with mutex consider using condition variable (in w...
- Tue Nov 10, 2020 5:38 pm
- Forum: C++ Development
- Topic: Updating OBJ Vars in Threads
- Replies: 12
- Views: 359
Re: Updating OBJ Vars in Threads
What is OBJ? In any case you should use synchronization mechanism for every concurrent function call (i.e. use thread-safe vector instead wVector or lock with mutex or ...)
- Tue Nov 10, 2020 5:34 pm
- Forum: C++ Development
- Topic: My Frame don't fit to content
- Replies: 6
- Views: 231
Re: My Frame don't fit to content
Can you provide reproducible sample? Maybe you forget to call Layout in the end of constructor.
- Tue Oct 27, 2020 9:34 am
- Forum: Compiler / Linking / IDE Related
- Topic: Can't compile minimal.cpp on VS2019
- Replies: 11
- Views: 528
Re: Can't compile minimal.cpp on VS2019
Thanks PB & Kvaz1r. I'm just going to stick with what I know. And it's not using wxWidgets with VS. Time's past me by, I guess. Let's try it one more time. The easiest way to find mistake is to compare what you have with what it should been. Let's compare etalon project that @PB posted with your. T...
- Tue Oct 27, 2020 7:24 am
- Forum: Compiler / Linking / IDE Related
- Topic: Can't compile minimal.cpp on VS2019
- Replies: 11
- Views: 528
Re: Can't compile minimal.cpp on VS2019
Could you compare your steps with this instruction? - viewtopic.php?f=19&t=46700#p196105
If all seems to set, but still don't work can you share your project files?
If all seems to set, but still don't work can you share your project files?