Search found 172 matches

by gtafan
Tue Apr 18, 2017 3:49 pm
Forum: wxWidgets Development (Russian)
Topic: запретить wxFrame изменять размер
Replies: 11
Views: 3594

Re: запретить wxFrame изменять размер

ONEEYEMAN wrote:https://translate.google.com/#en/ru/clipping%20box

Eto znachit chto okoshko budet perekryvat svoih potomkov.
Вот это я не совсем понимаю, что за потомки? Другие окна что ли?
by gtafan
Tue Apr 18, 2017 1:57 pm
Forum: wxWidgets Development (Russian)
Topic: запретить wxFrame изменять размер
Replies: 11
Views: 3594

Re: запретить wxFrame изменять размер

Поставил галочки на wxMINIMIZE_BOX, wxCAPTION и wxCLOSE_BOX и убрал галочку с wxDEFAULT_FRAME_STYLE и всё получилось. Я так понимаю, что если захочу использовать меню, то надо ещё поставить галочку на wxSYSTEM_MENU, а вот для чего этот флаг wxCLIP_CHILDREN я к сожалению не понял.
by gtafan
Thu Apr 13, 2017 1:18 pm
Forum: wxWidgets Development (Russian)
Topic: запретить wxFrame изменять размер
Replies: 11
Views: 3594

Re: запретить wxFrame изменять размер

Dobrogo vremeni sutok, Zahodili sjuda: http://docs.wxwidgets.org/trunk/classwx_frame.html? Esli wxFrame sozdavalas so stiljami po umolchniju - ispolzuetsja wxRESIZE_BORDER. Esli ne pomoget - pishite. I esche - ja tak ponimaju chto nugno ubrat wxMINIMIZE_BOX/wxMAXIMIZE_BOX ottuda ge. wxMINIMIZE_BOX ...
by gtafan
Wed Apr 12, 2017 11:19 am
Forum: wxWidgets Development (Russian)
Topic: запретить wxFrame изменять размер
Replies: 11
Views: 3594

запретить wxFrame изменять размер

Хочу, что бы моё окно (wxFrame) оставалось всегда одного размера. На яве например есть функция setResizable(false) для этого, в документации wxWidgets я к сожалению ничего похожего не нашёл. Может кто подсказать как сделать нечто подобное в wxWidgets? Я использую CodeBlocks с wxSmith.
by gtafan
Tue Apr 11, 2017 11:01 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

FWIW, I have just successfully built wxWidgets 3.02 with MinGW32 (GCC 5.3.0) using: mingw32-make -f makefile.gcc BUILD=release MONOLITHIC=1 UNICODE=1 SHARED=0 gnCXXFLAGS="-std=u++11" But as always: without seeing the error message your build failed with, it's quite difficult to say why you failed. ...
by gtafan
Mon Apr 10, 2017 12:52 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

For everybody with the same problem, the corect comandline is: mingw32-make -f makefile.gcc BUILD=release MONOLITHIC=1 UNICODE=1 SHARED=0 CXXFLAGS="-std=gnu++11 -fno-keep-inline-dllexport" Actually, speaking about correctness for future reference, I believe that "-fno-keep-inline-dllexport" is not ...
by gtafan
Mon Apr 10, 2017 11:49 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

If you use the global wx variable, when you update the wxWidgets library, you only have to update the global variable and all projects will continue to work with the new wxWidgets version. If you use the specific location in the wizard, if you update the wxWidgets library, you'll have to update man...
by gtafan
Thu Apr 06, 2017 2:45 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

If you use the global wx variable, when you update the wxWidgets library, you only have to update the global variable and all projects will continue to work with the new wxWidgets version. If you use the specific location in the wizard, if you update the wxWidgets library, you'll have to update man...
by gtafan
Wed Apr 05, 2017 3:36 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

Before building a wxWidgets application in codeblocks, you should set a wx global variable in codeblocks. 1) From the menu, select "Settings->Global variables..." 2) In the resulting popup, hit new. That will start a second popup. 3) In that second popup, enter "wx" and hit OK. 4) Back in the first...
by gtafan
Wed Apr 05, 2017 3:23 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

Before diving into wxWidgets, you might want to make sure you have your compiler set up with codeblocks by making and running a console application. 1)From the menu, select "File->New->Project...". 2)In the resulting popup, select "Console application". Then hit the "Go" button. This will start a w...
by gtafan
Wed Apr 05, 2017 2:47 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

The comandline there looks more or less like mine, exept that "-fno-keep-inline-dllexport", what that´s good for?
by gtafan
Wed Apr 05, 2017 2:44 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

Re: wxWidget with codeblocks problem

By the way gtafan, if you want to use C++11, you should build wxWidgets in C++11 mode, e.g. mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=1 UNICODE=1 CXXFLAGS="-std=gnu++11" And what about that clean stuff? Also if I remember right my CodeBlocks version has integrated mingW 4.9, so...
by gtafan
Wed Apr 05, 2017 1:45 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget with codeblocks problem
Replies: 20
Views: 3763

wxWidget with codeblocks problem

Have instaled CodeBlocks and wxWidget 3.0.2 but still unable to start a wxWidget project, always geting this error mesages: http://s011.radikal.ru/i317/1703/4d/76b5582b71bc.png http://s010.radikal.ru/i311/1703/37/4ea22fc68aab.png I don´t care about debug, as never using it, but release is a problem....
by gtafan
Wed Apr 05, 2017 1:39 pm
Forum: wxDev-C++
Topic: C++11 compatible wxDev version?
Replies: 19
Views: 4578

Re: C++11 compatible wxDev version?

So if I understood you right, you used wxWidgets without GUI builder? When I tested wxDev-C++, it appeared to be possible to use its built-in GUI builder with "my" wxWidgets and compiler. But I just created a wxWidgets project based on the wxFrame template and added a single wxTextCtrl to it to mim...
by gtafan
Wed Apr 05, 2017 9:28 am
Forum: wxDev-C++
Topic: C++11 compatible wxDev version?
Replies: 19
Views: 4578

Re: C++11 compatible wxDev version?

As I wrote above, I did not use a wxPack or MinGW bundled with Dev-C++, I told Dev-C++ to use my wxWidgets and compiler. I therefore have no idea which wxPack (if any) is compiled in C++11 mode. You could just do do what I did. Better yet, find another, still supported, IDE. For example, I have nev...