Tidy/doc updates (#410)

* minor updates to clarify when the dock manager should be created

* fixed typos
This commit is contained in:
ARSanderson
2022-04-11 23:58:18 -06:00
committed by GitHub
parent 78a4166e42
commit 823887daf8
2 changed files with 7 additions and 5 deletions

View File

@@ -52,9 +52,10 @@ configuration will be explained in detail in the following sections.
### Setting Configuration Flags
You should set the configuration flags before you create the dock manager
instance. That means, setting the configurations flags is the first thing
you do, if you use the library.
You must set the configuration flags before creating the dock manager
instance otherwise the manager will not be created correctly and will
crash upon being created. That means, setting the configurations flags
is the first thing you must do, if you use the library.
```c++
CDockManager::setConfigFlags(CDockManager::DefaultOpaqueConfig);