diff --git a/docs/doxygen/overviews/high_dpi.md b/docs/doxygen/overviews/high_dpi.md index 7cf7ac07e1..2634fe6b8d 100644 --- a/docs/doxygen/overviews/high_dpi.md +++ b/docs/doxygen/overviews/high_dpi.md @@ -77,13 +77,13 @@ change is to just replace the pixel values with the values in DIP: for this, just use wxWindow::FromDIP() to convert from one to the other. For example, if you have the existing code: -```cpp +~~~{cpp} myFrame->SetClientSize(wxSize(400, 300)); -``` +~~~ you can just replace it with -```cpp +~~~{cpp} myFrame->SetClientSize(myFrame->FromDIP(wxSize(400, 300))); -``` +~~~ Physical Pixels --------------- diff --git a/docs/doxygen/overviews/install.md b/docs/doxygen/overviews/install.md index 0e300cad06..f059d212bd 100644 --- a/docs/doxygen/overviews/install.md +++ b/docs/doxygen/overviews/install.md @@ -199,7 +199,8 @@ project, there are several things you must do. `defaults write com.apple.dt.Xcode UseSanitizedBuildSystemEnvironment -bool NO` - Set the variables for use with the launch agent (application to OSX 10.10 and up) -``` + +~~~{xml} @@ -218,7 +219,7 @@ launchctl setenv WXWIN /Users/dconnet/devtools/wx/wxWidgets-3.1.5 -``` +~~~ ### Other IDEs