📄 slide009.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="blendTrans(Duration=2)" http-equiv="Page-Enter">
<title>Big C++: Chptr. 27 -- Graphical User Interfaces</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="2005 John Wiley & Sons">
<meta name="Author" content="Kurt Schmidt">
</head>
<body>
<div onclick="document.location='slide010.html'">
<h2><font color='#009999'>27.3 Adding a Text Control to the Frame (cont.)</font></h2>
<ul>
<li><font size="+1">We have to make a slight change to the application class
to show a <tt>TextFrame</tt>, not a <tt>wxFrame</tt>.
<blockquote>
<pre>class TextApp : public wxApp
{
public:
TextApp();
virtual bool OnInit();
private:
<font color="#0000FF">TextFrame</font>* frame;
};
TextApp::TextApp()
{
frame = new <font color="#0000FF">TextFrame</font>();
}</pre>
</blockquote></font></li>
</ul>
<hr>
<center><small>
<a href='slide008.html'>prev</a>
|<a href='slide001.html'>top</a>
|<a href='slide010.html'>next</a>
</small></center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -