User forums > Nightly builds

The 19 June 2015 build (10341) is out.

<< < (13/15) > >>

ollydbg:

--- Quote from: BlueHazzard on July 29, 2015, 02:12:40 pm ---i can confirm this...
i noticed it a few revisions before but thought it is a feature for small screens ;)

--- End quote ---

Thanks, I think this patch should fix this issue:


--- Code: --- src/sdk/resources/new_from_template.xrc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/sdk/resources/new_from_template.xrc b/src/sdk/resources/new_from_template.xrc
index 3b524f6..b46123f 100644
--- a/src/sdk/resources/new_from_template.xrc
+++ b/src/sdk/resources/new_from_template.xrc
@@ -3,6 +3,7 @@
  <object class="wxScrollingDialog" name="dlgNewFromTemplate">
  <title>New from template</title>
  <centered>1</centered>
+ <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</style>
  <object class="wxFlexGridSizer">
  <cols>2</cols>
  <rows>2</rows>
@@ -196,14 +197,14 @@
  <object class="wxStaticText" name="ID_STATICTEXT6">
  <label>* To delete a user template, delete the similarly named folder created&#x0A;   in %APPDATA%\\codeblocks\\UserTemplates (for Windows) or&#x0A;   ~/Library/Application Support/CodeBlocks (for Mac OS X) or&#x0A;   ~/.config/codeblocks (for other platforms).</label>
  </object>
- <flag></flag>
+ <flag>wxALIGN_NOT</flag>
  </object>
  <object class="sizeritem">
  <object class="wxStaticText" name="ID_STATICTEXT7">
  <label>   Please note the dot (.) in front of &quot;codeblocks&quot;!</label>
  <fg>#800000</fg>
  </object>
- <flag></flag>
+ <flag>wxALIGN_NOT</flag>
  </object>
  </object>
  </object>

--- End code ---
I don't know whether we need the second hunk of this patch, because wxsmith automatically add them. :(
I think it is the change in rev10260 which cause the regression.

BlueHazzard:
i have applied the patch and now it works, but i get the error message:

--- Code: ---Unknows Style Flag wxALIGN_NOT
--- End code ---

Jenna:

--- Quote from: BlueHazzard on July 29, 2015, 05:40:45 pm ---i have applied the patch and now it works, but i get the error message:

--- Code: ---Unknows Style Flag wxALIGN_NOT
--- End code ---

--- End quote ---
Did you apply the patch or did you use wxSmith ?
I get the same afte adding the resize-border-flag with wxSmith, the funny thing is wxALIGN_NOT is defined in defs.h of wxWidgets.
I try to investigate further.
Do you get the message always or only if you run C::B with -v parameter ?

BlueHazzard:
i only have applied the patch (not on trunk but on r10356 )

i get also the following error:

--- Code: ---resource file must have same version number!

--- End code ---
on startup and following error if i create a new project:

--- Code: ---Unknows Style Flag wxALIGN_NOT

--- End code ---

without "--verbose" i get no errors

greetings

stahta01:

--- Quote from: jens on July 29, 2015, 06:48:38 pm ---
--- Quote from: BlueHazzard on July 29, 2015, 05:40:45 pm ---i have applied the patch and now it works, but i get the error message:

--- Code: ---Unknows Style Flag wxALIGN_NOT
--- End code ---

--- End quote ---
Did you apply the patch or did you use wxSmith ?
I get the same afte adding the resize-border-flag with wxSmith, the funny thing is wxALIGN_NOT is defined in defs.h of wxWidgets.
I try to investigate further.
Do you get the message always or only if you run C::B with -v parameter ?

--- End quote ---

Edit: This is a wild guess based on seeing something like this error long ago when doing PCH fixes.

Try editing newfromtemplatedlg.cpp by adding "#include <wx/defs.h>"
Before

--- Code: ---#include "sdk_precomp.h"

#ifndef CB_PRECOMP
    #include <wx/button.h>

--- End code ---
after

--- Code: ---#include "sdk_precomp.h"

#ifndef CB_PRECOMP
    #include <wx/defs.h>
    #include <wx/button.h>

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version