Search found 5299 matches

by ONEEYEMAN
Wed Sep 15, 2021 6:29 pm
Forum: C++ Development
Topic: [SOLVED] Window not displaying.
Replies: 6
Views: 132

Re: [SOLVED] Window not displaying.

@PB,
true.
But you don't know what standard is OP uses..

Besides {wx}OVERRIDE is generating warning, not an error.

Thank you.

Nevertheless, it is still helpful feature.
by ONEEYEMAN
Wed Sep 15, 2021 5:01 pm
Forum: C++ Development
Topic: [SOLVED] Window not displaying.
Replies: 6
Views: 132

Re: [SOLVED] Window not displaying.

PB,
PB wrote:
Wed Sep 15, 2021 7:09 am
That is why "override" specifier is a thing, comes handy once in a while.
Except that its available since C++...

Thank you.
by ONEEYEMAN
Tue Sep 14, 2021 9:48 pm
Forum: C++ Development
Topic: How to simulate "Cancel" for a wxProgressDialog
Replies: 3
Views: 54

Re: How to simulate "Cancel" for a wxProgressDialog

Hi,
If you are trying to throw out MFC - you are free to do anything you want, right. ;-)

Thank you.
by ONEEYEMAN
Tue Sep 14, 2021 9:03 pm
Forum: C++ Development
Topic: How to simulate "Cancel" for a wxProgressDialog
Replies: 3
Views: 54

Re: How to simulate "Cancel" for a wxProgressDialog

Hi,
Can't you just cancel a thread?

Thank you.
by ONEEYEMAN
Mon Sep 13, 2021 7:49 pm
Forum: wxWidgets Development (Russian)
Topic: wxStyledTextCtrl::Remove - Не до конца удаляет текст на кириллице
Replies: 11
Views: 749

Re: wxStyledTextCtrl::Remove - Не до конца удаляет текст на кириллице

Dobrogo vremeni sutok, A zachem nugna staticheskaja sborka v *nix? Eto g kakaja golovnaja bol - perekompilirovat vse prilogenie tolko dlja togo chtoby upgradenut kakuju-to odnu maljusenkuju biblioteku i pri etom ubit kluchu vremeni. A samoe glavnoe - chto esli licensija pomenjaetsja u etoj bibliotek...
by ONEEYEMAN
Mon Sep 13, 2021 7:42 pm
Forum: Compiler / Linking / IDE Related
Topic: Include error on VSCode Ubuntu 20
Replies: 7
Views: 162

Re: Include error on VSCode Ubuntu 20

David,
DavidHart wrote:
Mon Sep 13, 2021 7:14 pm
Rather than giving up on ubuntu, it would be more sensible to give up on VSCode. There are plenty of cross-platform tools for wxWidgets that are known to work: see this wxWiki page.
See my comment above. ;-)

Thank you.
by ONEEYEMAN
Mon Sep 13, 2021 6:50 pm
Forum: wxWidgets Development (Russian)
Topic: wxStyledTextCtrl::Remove - Не до конца удаляет текст на кириллице
Replies: 11
Views: 749

Re: wxStyledTextCtrl::Remove - Не до конца удаляет текст на кириллице

Dobrogo vremeni sutok,
Pod *nix, NIKOGDA ne ispolzujte staticheskuju linkovku.

Dinamicheskaja - prosche i udobnee, a glavnoe - de-facto standart pod *nix.

Slishkom monogo nugno proverjat dlja togo chtoby rabotat so static library under *nix".

Spasibo.
by ONEEYEMAN
Mon Sep 13, 2021 6:43 pm
Forum: Compiler / Linking / IDE Related
Topic: Include error on VSCode Ubuntu 20
Replies: 7
Views: 162

Re: Include error on VSCode Ubuntu 20

Hi,
Microsoft products are for Microsoft OS only ;-)
But seriously - if you need to test something under Linux - the best way is to build and run it.

For development its either Windows + MSVC or OSX + Xcode.

Thank you.
by ONEEYEMAN
Mon Sep 13, 2021 4:42 pm
Forum: C++ Development
Topic: wxDataViewListCtrl::AppendItem: Freeing the data
Replies: 18
Views: 325

Re: wxDataViewListCtrl::AppendItem: Freeing the data

Hi,
Do you see a memory leak when running the program under valgrind or MSVC debug?

Thank you.
by ONEEYEMAN
Mon Sep 13, 2021 4:09 pm
Forum: C++ Development
Topic: wxDataViewListCtrl::AppendItem: Freeing the data
Replies: 18
Views: 325

Re: wxDataViewListCtrl::AppendItem: Freeing the data

Hi,
Since the documentation is not explicitly mentions - that pointer will belong to the control and will be freed when the wxDVC will be deleted.

Do you have a proof for it not to be the case?

Thank you.
by ONEEYEMAN
Mon Sep 13, 2021 3:44 pm
Forum: C++ Development
Topic: wxDataViewListCtrl::AppendItem: Freeing the data
Replies: 18
Views: 325

Re: wxDataViewListCtrl::AppendItem: Freeing the data

Hi,
Please look at the "dataview" sample.
Did you see the "smart pointer" referenced anywhere?

Thank you.
by ONEEYEMAN
Mon Sep 13, 2021 3:17 pm
Forum: C++ Development
Topic: wxDataViewListCtrl::AppendItem: Freeing the data
Replies: 18
Views: 325

Re: wxDataViewListCtrl::AppendItem: Freeing the data

Hi, This is amazing! How can you create a window if you don't call new? How can you create an application if you don't call new? Moreover the phrase ".. if you have a naked new, you have a bug" - is really, really, really suspicious. I believe it is exactly the same as the first article you linked. ...
by ONEEYEMAN
Mon Sep 13, 2021 2:47 pm
Forum: C++ Development
Topic: wxDataViewListCtrl::AppendItem: Freeing the data
Replies: 18
Views: 325

Re: wxDataViewListCtrl::AppendItem: Freeing the data

Hi, What is the reason behind this? wxWidgets has its own private memory management. It doesn't leave memory leaks. The only purpose for using the "smart-pointers" is to exclude memory leaks and the library already takes care of that. IN ALL CASES!! So, what is the purpose? Are you not experienced e...
by ONEEYEMAN
Mon Sep 13, 2021 12:26 pm
Forum: Compiler / Linking / IDE Related
Topic: Any .rc resource script Editor recommendation for non-VS IDE?
Replies: 4
Views: 217

Re: Any .rc resource script Editor recommendation for non-VS IDE?

Hi,
What kind of resources you want to edit?
And what IDE, if any you are using?

Thank you.