Search found 53 matches

by Rob'
Fri Feb 14, 2020 9:47 am
Forum: C++ Development
Topic: wxTimePickerCtrl Format
Replies: 6
Views: 399

Re: wxTimePickerCtrl Format

Thanks to all! I'm going to try PB's approach.

Rob'
by Rob'
Mon Feb 10, 2020 7:16 pm
Forum: C++ Development
Topic: wxTimePickerCtrl Format
Replies: 6
Views: 399

Re: wxTimePickerCtrl Format

Thank you for your reply. But it does not cover my problem. What I want to accomplish is the user should not see the seconds in the input field and it also shouldn't be necessary to enter a complete time with hours, minutes and seconds. I'm looking for something similar to a format string that I can...
by Rob'
Sat Feb 08, 2020 5:19 pm
Forum: C++ Development
Topic: wxTimePickerCtrl Format
Replies: 6
Views: 399

wxTimePickerCtrl Format

Is it possible the change the format of wxTimePickerCtrl? I would like to suppress the seconds.

Thanks in advance.
Rob'
by Rob'
Wed Oct 30, 2019 12:25 pm
Forum: Compiler / Linking / IDE Related
Topic: Download MinGW-TDM 5.10 Windows Binaries
Replies: 4
Views: 461

Re: Download MinGW-TDM 5.10 Windows Binaries

I found the reason: The http protocol points to version 3.1.2, where the binaries are available. The https protocol points to the new version 3.1.3, where the binaries do not exist yet.

Rob'
by Rob'
Wed Oct 30, 2019 10:02 am
Forum: Compiler / Linking / IDE Related
Topic: Download MinGW-TDM 5.10 Windows Binaries
Replies: 4
Views: 461

Download MinGW-TDM 5.10 Windows Binaries

I'm trying to download the MinGW-TDM 5.10 windows binaries from the download page. Sometimes that binaries are not visible in the selection box. Why? Download possible: Win7 and Thunderbird from http ://www.wxwidgets.org/downloads Not possible: Win7 and Thunderbird from https ://www.wxwidgets.org/do...
by Rob'
Wed May 15, 2019 12:06 pm
Forum: C++ Development
Topic: wxTextFile BOM
Replies: 1
Views: 199

wxTextFile BOM

Hello, I'm using wxTextFile to read a file that contains the BOM for UTF8-encoding at the beginning of the file. After the work is done I write back the data to a new file. The new file should also contain the BOM. What I have to do to achieve that? Have I to do that manually? With wxTextFile::Write...
by Rob'
Fri Jan 11, 2019 10:20 am
Forum: Compiler / Linking / IDE Related
Topic: "Missing binary operator..." in winundef.h
Replies: 1
Views: 398

"Missing binary operator..." in winundef.h

I get a preprocessor error in winundef.h:

Code: Select all

winundef.h	258	error: missing binary operator before token "("
Line 258:

Code: Select all

 #if !wxCHECK_W32API_VERSION( 0, 5 )
I'm using wx 3.0.

What can be the reason?

Thanks in advance
Rob'
by Rob'
Fri Dec 15, 2017 11:11 am
Forum: C++ Development
Topic: Format specifier for (wxString() << x)
Replies: 4
Views: 727

Re: Format specifier for (wxString() << x)

I'm using this macro for integer as well for floating point variables w/o to notice the type. In this case I have an integer variable. For small values I get the string in decimal notation as desired, whereas for large integer values it appears in scientific notation. Is it possible to get the decim...
by Rob'
Sun Nov 05, 2017 4:39 pm
Forum: C++ Development
Topic: Format specifier for (wxString() << x)
Replies: 4
Views: 727

Format specifier for (wxString() << x)

I'm using this simple macro to convert a number to it's string representation:

Code: Select all

#define AS_STRING(x) (wxString() << x)
Is it possible to specify a format? I want to prevent the scientific notification in the resulting string.

Thanks in advance.
Rob'
by Rob'
Sun Oct 15, 2017 3:30 pm
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo
Replies: 9
Views: 1633

Re: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo

It is not so easy, because gsErrPropsEditor is part of a library that I use for my projects. Thanks so far, I will get back here.

Rob'
by Rob'
Sun Oct 15, 2017 2:19 pm
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo
Replies: 9
Views: 1633

Re: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo

I have added the wxIMPLEMENT_DYNAMIC_CLASS macro and get now the following error: C:\dev\wxWidgets3.1\include\wx\rtti.h|153|error: 'wxClassInfo gsErrPropsEditor::ms_classInfo' is not a static data member of 'class gsErrPropsEditor'| That confirms my suspect, but the question remains: Why not? What f...
by Rob'
Sun Oct 15, 2017 1:38 pm
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo
Replies: 9
Views: 1633

Re: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo

I found some using of wxObject::ms_classInfo in the source, but any declaration (wether in WX 3.0 nor in WX 3.1). Where/how is it declared?
by Rob'
Sat Oct 14, 2017 2:30 pm
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo
Replies: 9
Views: 1633

Re: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo

This is a part from the header file, it contain some more class deklarations: #include <wx/string.h> #include <vector> #include <wx/arrstr.h> #include <wx/grid.h> #include "errwindowbase.h" ... class gsErrPropsEditor : public wxGridCellEditor { public: gsErrPropsEditor(gsErrProps* errprops); virtual...
by Rob'
Fri Oct 13, 2017 4:55 pm
Forum: Compiler / Linking / IDE Related
Topic: undefined reference to wxGridCellEditorEvtHandler::ms_classInfo
Replies: 9
Views: 1633

undefined reference to wxGridCellEditorEvtHandler::ms_classInfo

I have a class derived from wxGridCellEditor with an overloaded BeginEdit() method. In this method I added one line, the rest is the same as in the base class. void gsErrPropsEditor::BeginEdit(int row, int col, wxGrid* grid) { wxASSERT_MSG(m_control, wxT("The wxGridCellEditor must be created first!"...
by Rob'
Sat Aug 26, 2017 6:28 am
Forum: C++ Development
Topic: wxRegEx question
Replies: 5
Views: 936

Re: wxRegEx question

wxRE_ADVANCED solved the problem.

Thank you!