More patches from FM to clean up after moving contribs. Also removes
use of wxUSE_RESOURCES git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
79f45cf784
commit
cf63f3d3ae
19 changed files with 35 additions and 1379 deletions
|
|
@ -751,11 +751,13 @@ int GetIndex()
|
|||
// Read preferences
|
||||
void MainWindow::ReadPreferences()
|
||||
{
|
||||
/* TODO: convert this code to use wxConfig
|
||||
#if wxUSE_RESOURCES
|
||||
wxGetResource(_T("wxPoem"), _T("FontSize"), &pointSize);
|
||||
wxGetResource(_T("wxPoem"), _T("X"), &XPos);
|
||||
wxGetResource(_T("wxPoem"), _T("Y"), &YPos);
|
||||
#endif
|
||||
*/
|
||||
}
|
||||
|
||||
// Write preferences to disk
|
||||
|
|
@ -763,11 +765,13 @@ void MainWindow::WritePreferences()
|
|||
{
|
||||
#ifdef __WXMSW__
|
||||
TheMainWindow->GetPosition(&XPos, &YPos);
|
||||
/* TODO: convert this code to use wxConfig
|
||||
#if wxUSE_RESOURCES
|
||||
wxWriteResource(_T("wxPoem"), _T("FontSize"), pointSize);
|
||||
wxWriteResource(_T("wxPoem"), _T("X"), XPos);
|
||||
wxWriteResource(_T("wxPoem"), _T("Y"), YPos);
|
||||
#endif
|
||||
*/
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue