Click here to Skip to main content
11,789,710 members (59,397 online)
Click here to Skip to main content
Add your own
alternative version

Introduction to wxWidgets

, 25 Dec 2005 GPL3 994.2K 5.8K 322
A beginner's tutorial on wxWidgets for cross platform GUI development.
/* AboutDialog.cpp
 * Copyright (C) 3 September, 2005 Priyank Bolia
 * This code is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 * This code is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * Library General Public License for more details.
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 * MA 02111-1307, USA

#include "aboutdialog.h"

CAboutDialog::CAboutDialog(wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &position, const wxSize& size, long style)
: wxDialog(parent, id, title, position, size, style)
	m_pStaticBox = new wxStaticBox(this, ID_WXSTATICBOX, wxT("Eye Care"), wxPoint(8,3), wxSize(228,105));
	m_pInfoText = new wxHyperlinkCtrl(this, ID_WXHYPERLINK_INFO, wxT(""), wxPoint(47, 20), wxSize(170, 30), wxALIGN_CENTER, "HyperLinkText", "");
	m_pInfoText->SetFont(wxFont(14, wxSWISS, wxNORMAL,wxBOLD, FALSE, wxT("Times New Roman")));
	m_pCopyRightText = new wxStaticText(this, ID_WXSTATICTEXT_COPYRIGHT, wxT("Copyright (c) 2005 Priyank Bolia.\nAll Rights Reserved."), wxPoint(40, 45), wxSize(170, 40), wxALIGN_CENTER);
	m_pOkButton = new wxButton(this, wxID_OK, "Ok", wxPoint(87, 80));


void CAboutDialog::SetText(const wxString& text)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


About the Author

Priyank Bolia
Software Developer (Senior)
India India
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.1509028.1 | Last Updated 25 Dec 2005
Article Copyright 2005 by Priyank Bolia
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid