Fix code snippets markup in Doxygen overviews

Markdown ``` doesn't work here, Doxygen-specific ~~~ needs to be used.
This commit is contained in:
Vadim Zeitlin
2022-01-13 00:52:40 +01:00
parent 265881c79e
commit 42bdf924b1
2 changed files with 7 additions and 6 deletions

View File

@@ -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
---------------

View File

@@ -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}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
@@ -218,7 +219,7 @@ launchctl setenv WXWIN /Users/dconnet/devtools/wx/wxWidgets-3.1.5
<true/>
</dict>
</plist>
```
~~~
### Other IDEs