Skip to content

wxSystemInformationFrame is a wxFrame-derived class that can be easily added to a wxWidgets application and provide a quick overview of many different OS, wxWidgets, and application settings.

Notifications You must be signed in to change notification settings

PBfordev/wxsysinfoframe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

wxSystemInformationFrame

Introduction

wxSystemInformationFrame is a wxFrame-derived class that can be easily added to a wxWidgets application and provide a quick overview of many different OS, wxWidgets, and application settings.

While this is certainly not something needed often, perhaps once in a blue moon it can save a programmer from typing a throwaway code for inspecting various variables via logging or inside the debugger.

Requirements

wxWidgets v3 or newer, a compiler supporting C++11.

Using

Just add wxsysinfoframe.h and wxsysinfoframe.cpp to your project/makefile and then in your application create a wxSystemInformationFrame instance, e.g.

#include "wxsysinfoframe.h"

void MainFrame::OnShowSystemInformationFrame(wxCommandEvent&)
{
    wxSystemInformationFrame* frame = new wxSystemInformationFrame(this);
    frame->Show();
}

Screenshots

wxSYS Colours wxSYS Fonts wxSYS Metrics Displays Paths Options Environment Variables Miscellaneous Preprocessor Defines

Notes

On MSW, many values are affected by settings in the application manifests, such as DPI awareness. By C++ rules, preprocessor defines can be different in different files, so this needs to be taken into account. By OS design, once an application starts, its system environment values cannot be affected from outside the application.

Licence

wxWidgets licence

About

wxSystemInformationFrame is a wxFrame-derived class that can be easily added to a wxWidgets application and provide a quick overview of many different OS, wxWidgets, and application settings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages