Global Functions/Variables Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
furries
Experienced Solver
Experienced Solver
Posts: 53
Joined: Wed Jun 29, 2005 3:45 pm

Global Functions/Variables

Post by furries »

Hello, I'm looking for a number of global functions and variables.

The functions are mainly to do with Doc/View framework management:
GetDocument() and GetActiveView()
Are these controlled from within the DocManager or do globals still exist?

Also I need to do some registry editing, in MFC m_pszRegistryKey was a global variable but I havn't managed to find a wx equivelant yet.

Any other links/info on global functions and variables would be greatly apprechiated!

Thanks
benedicte
wxWorld Domination!
wxWorld Domination!
Posts: 1409
Joined: Wed Jan 19, 2005 3:44 pm
Location: Paris, France

Post by benedicte »

Are you talking about wxDocManager::GetCurrentView() and wxDocManager::GetDocuments() ?
priyank_bolia
wxWorld Domination!
wxWorld Domination!
Posts: 1339
Joined: Wed Aug 03, 2005 8:10 am
Location: BANGALORE, INDIA
Contact:

Post by priyank_bolia »

You can see:
wxView::GetDocument
wxDocManager::m_currentView
wxMDIParentFrame::GetActiveChild


wxRegConfig class for storing configuration in registry, though .ini or xml based configuration files are preferred in wxWidgets.
Post Reply