Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment is to add a wxTextCtrl pointer named textControl to wxEditorMain.h (under Headers). It should go in the private access members under the enum

This assignment is to add a wxTextCtrl pointer named textControl to wxEditorMain.h (under Headers). It should go in the private access members under the enum statement.

wxTextCtrl* textControl;

An identifier number needs to be created for textControl. This is done by adding as the second item in the enum list. All items in an enum list end with a comma except the last item. The enum list is also in wxEditorMain.h Frame Class declaration. ID_TextBox Add an instance of wxTextCtrl to wxEditorMain.cpp (under Sources) using the constructor statement. It should be placed inside the frame constructor just after the StatusBar:

textControl = new wxTextCtrl(this, ID_TextBox,

wxT(""), wxDefaultPosition, wxDefaultSize,

wxTE_MULTILINE | wxTE_RICH , wxDefaultValidator, wxTextCtrlNameStr);

Note that ID_TextBox is used in the constructor.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Temple Of Django Database Performance

Authors: Andrew Brookins

1st Edition

1734303700, 978-1734303704

More Books

Students also viewed these Databases questions

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

Examine various types of executive compensation plans.

Answered: 1 week ago